Commit 5464b302 authored by Matt Turner's avatar Matt Turner

Use AC_SYS_LARGEFILE

... and include config.h in makekeys.c to get the definition of
_FILE_OFFSET_BITS. Without it, libX11 can fail to build on a file
system with 64-bit inode numbers.

Bug: https://bugs.gentoo.org/550502
Bug: https://bugs.gentoo.org/616140Signed-off-by: Matt Turner's avatarMatt Turner <mattst88@gmail.com>
parent 33b9148a
......@@ -19,6 +19,8 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2])
# Initialize libtool
AC_PROG_LIBTOOL
AC_SYS_LARGEFILE
# Require xorg-macros minimum of 1.15 for fop minimum version
m4_ifndef([XORG_MACROS_VERSION],
[m4_fatal([must install xorg-macros 1.15 or later before running autoconf/autogen])])
......
......@@ -28,6 +28,10 @@ from The Open Group.
/* Constructs hash tables for XStringToKeysym and XKeysymToString. */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment