summaryrefslogtreecommitdiffstats
path: root/mutt.h
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-11-18 06:55:56 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-11-18 06:55:56 +0000
commit9ce2c5549e5762add44f83e3ea3d685c048dfdf6 (patch)
treec3838093cc27ffa70ee9d38e8ddd411f1ef04e18 /mutt.h
parentce0bbca189c118316552d97db73ba36a9ab009fd (diff)
Include <unistd.h>, so SEEK_SET is defined on some systems which
don't do so in <stdlib.h>.
Diffstat (limited to 'mutt.h')
-rw-r--r--mutt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mutt.h b/mutt.h
index cf96ad00..435ff0d1 100644
--- a/mutt.h
+++ b/mutt.h
@@ -20,6 +20,9 @@
#include "config.h"
#include <stdio.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h> /* needed for SEEK_SET */
+#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>