paths.h may not be available elsewhere
authorJoey Schulze <joey@infodrom.org>
Sun, 20 May 2007 10:54:15 +0000 (10:54 +0000)
committerJoey Schulze <joey@infodrom.org>
Sun, 20 May 2007 10:54:15 +0000 (10:54 +0000)
folder.c

index 1c63872..9ebceab 100644 (file)
--- a/folder.c
+++ b/folder.c
 #include <sys/types.h>
 #include <pwd.h>
 #include <errno.h>
+#ifdef linux
 #include <paths.h>
+#else
+#define _PATH_MAILDIR "/var/spool/mail"
+#endif
 #include "mbox.h"
 #include "optdefs.h"