summaryrefslogtreecommitdiff
path: root/common/compat.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2005-08-25 19:06:47 +0000
committerStef Walter <stef@memberwebs.com>2005-08-25 19:06:47 +0000
commita861a0200b526ec48a0eebc9abaededa04b72318 (patch)
treea023a6b182febf07b87f552c4056240ac6ee754c /common/compat.h
parent9d2890bf108060d61081c2dc34962bd55978decc (diff)
Support embedded nulls in email data.
Diffstat (limited to 'common/compat.h')
-rw-r--r--common/compat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/compat.h b/common/compat.h
index b772f63..addf815 100644
--- a/common/compat.h
+++ b/common/compat.h
@@ -91,6 +91,14 @@ int setenv(const char* name, const char* value, int overwrite);
int daemon(int nochdir, int noclose);
#endif
+#ifndef HAVE_GETLINE
+ssize_t getline(char** lineptr, size_t* n, FILE* stream);
+#endif
+
+#ifndef HAVE_GETDELIM
+ssize_t getdelim(char** lineptr, size_t* n, int delim, FILE* stream);
+#endif
+
#ifdef HAVE_ERR_H
#include <err.h>
#else