diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-02-22 16:45:08 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-02-22 16:45:08 +0000 |
commit | 869865269995d67e5c30f45393e83eeee5229647 (patch) | |
tree | 2bd23d0a2d62c92e28b6b8589f21848a9404f306 /fetchmail.h | |
parent | d8e3aad2c36043d83d9ddc6af71a4724d3433096 (diff) | |
download | fetchmail-869865269995d67e5c30f45393e83eeee5229647.tar.gz fetchmail-869865269995d67e5c30f45393e83eeee5229647.tar.bz2 fetchmail-869865269995d67e5c30f45393e83eeee5229647.zip |
EMX changes for OS/2.
svn path=/trunk/; revision=1668
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h index f3c3fbc9..22ab295f 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -358,6 +358,19 @@ char *showproto(int); void yyerror(const char *); int yylex(void); +#ifdef __EMX__ +void itimerthread(void*); +/* Have to include these first to avoid errors from redefining getcwd + and chdir. They're re-include protected in EMX, so it's okay, I + guess. */ +#include <stdlib.h> +#include <unistd.h> +/* Redefine getcwd and chdir to get drive-letter support so we can + find all of our lock files and stuff. */ +#define getcwd _getcwd2 +#define chdir _chdir2 +#endif + #define STRING_DISABLED (char *)-1 /* fetchmail.h ends here */ |