summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
-rw-r--r--readfile.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f6f2905..5ef33f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,6 +37,9 @@ m4_ifndef([XORG_MACROS_VERSION],
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
+# Checks for typedefs, structures, and compiler characteristics.
+AC_SYS_LARGEFILE
+
# Checks for pkg-config packages
PKG_CHECK_MODULES(XMESSAGE, xaw7)
diff --git a/readfile.c b/readfile.c
index 3e752e7..bcd7c73 100644
--- a/readfile.c
+++ b/readfile.c
@@ -30,6 +30,10 @@ from the X Consortium.
*/
/* $XFree86: xc/programs/xmessage/readfile.c,v 1.2 2000/02/14 19:21:04 dawes Exp $ */
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <X11/Xos.h> /* for types.h */
#include <sys/stat.h>
#include <stdio.h>