summaryrefslogtreecommitdiff
path: root/readfile.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-11 16:15:13 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-11 16:19:45 -0800
commit3b86420d209d4858c310748215da31672783f64a (patch)
treebfc337a849da52fd501ddb56d4af441d3c1b91fd /readfile.c
parenta5da3e6589d6bfcdf4ed44cab0b1fac438224b60 (diff)
configure: Use AC_SYS_LARGEFILE to enable large file support
While files displayed by xmessage should never be more than 2gb in size, they may be stored on filesystems with large inodes (or in the future, dates past 2038). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'readfile.c')
-rw-r--r--readfile.c4
1 files changed, 4 insertions, 0 deletions
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>