summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailbox.c4
-rw-r--r--configure.ac3
-rw-r--r--xbiff.c4
3 files changed, 11 insertions, 0 deletions
diff --git a/Mailbox.c b/Mailbox.c
index 4d263b6..9a592dd 100644
--- a/Mailbox.c
+++ b/Mailbox.c
@@ -40,6 +40,10 @@ from the X Consortium.
* XBiff*emptyPixmap: mailempty
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <X11/IntrinsicP.h> /* for toolkit stuff */
#include <X11/StringDefs.h> /* for useful atom names */
#include <X11/cursorfont.h> /* for cursor constants */
diff --git a/configure.ac b/configure.ac
index 52ddb3d..dd8cbff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,6 +43,9 @@ PKG_CHECK_MODULES(XBIFF, xaw7 xmu xbitmaps xext x11)
# Checks for headers
AC_CHECK_HEADERS([paths.h])
+# Checks for typedefs, structures, and compiler characteristics.
+AC_SYS_LARGEFILE
+
# Allow builder to set path to look for mailboxes
AC_MSG_CHECKING([for mailbox directory])
AC_ARG_WITH([mailbox-directory],
diff --git a/xbiff.c b/xbiff.c
index 5fcdb51..dbf90eb 100644
--- a/xbiff.c
+++ b/xbiff.c
@@ -30,6 +30,10 @@ from the X Consortium.
*/
/* $XFree86: xc/programs/xbiff/xbiff.c,v 1.3tsi Exp $ */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <X11/Xatom.h>