diff options
author | Stef Walter <stef@memberwebs.com> | 2005-08-25 19:06:47 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2005-08-25 19:06:47 +0000 |
commit | 7e70c57aa9767c3130fa0a85e77cd0a67df22180 (patch) | |
tree | 8c86a7a84784c30e5ffacd4e8fcb2197a305e4e5 /common/compat.h | |
parent | 0bdb946715088c6d66f936ed05d18a51d86f16e9 (diff) |
Support embedded nulls in email data.
Diffstat (limited to 'common/compat.h')
-rw-r--r-- | common/compat.h | 8 |
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 |