aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-07-06 17:21:46 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-07-06 17:21:46 +0000
commitf487cee665e621c8f5715b9c4994521f00187f5b (patch)
treedb10e15bdd6329c5c3753b93460b1ff33dc02b6a
parent2839f9ecb0c46aacff276e6087c77803bc00fafc (diff)
downloadfetchmail-f487cee665e621c8f5715b9c4994521f00187f5b.tar.gz
fetchmail-f487cee665e621c8f5715b9c4994521f00187f5b.tar.bz2
fetchmail-f487cee665e621c8f5715b9c4994521f00187f5b.zip
Allow this to be used with ncurses.
svn path=/trunk/; revision=1154
-rw-r--r--fetchmail.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/fetchmail.h b/fetchmail.h
index 1ff759a2..765078ec 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -65,7 +65,11 @@ struct idlist
struct idlist *next;
};
+#ifndef TRUE
typedef int bool;
+#define FALSE 0
+#define TRUE 1
+#endif /* TRUE */
struct hostdata /* shared among all user connections to given server */
{
@@ -273,9 +277,6 @@ XMALLOCTYPE *xmalloc(int);
XMALLOCTYPE *xrealloc(XMALLOCTYPE *, int);
char *xstrdup(const char *);
-#define FALSE 0
-#define TRUE 1
-
#define STRING_DISABLED (char *)-1
/* fetchmail.h ends here */