summaryrefslogtreecommitdiff
path: root/lndir.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-04-16 01:15:45 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-04-21 21:20:18 -0700
commita0ddf1288b3fc6cf628f1ee69b585615387b5b1a (patch)
tree7f08e673dac8b8193caa4c9a13f46db7a2d59953 /lndir.c
parentae6ada745e48a6366cb91a5ce6692e22ad8077ae (diff)
Enable AC_SYS_LARGEFILE & AC_USE_SYSTEM_EXTENSIONS
Avoids stat() failures on 32-bit platforms if a file has a size that doesn't fit in 32-bits Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'lndir.c')
-rw-r--r--lndir.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lndir.c b/lndir.c
index 4978f17..0e1c6b8 100644
--- a/lndir.c
+++ b/lndir.c
@@ -45,6 +45,10 @@ in this Software without prior written authorization from The Open Group.
% lndir ../X
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <X11/Xos.h>
#include <X11/Xfuncproto.h>
#include <stdio.h>