diff options
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 */ |