summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2010-07-12 10:37:49 +0100
committerDaniel Stone <daniel@fooishbar.org>2010-07-12 10:37:49 +0100
commit446d226f85433aeb45834b65f966397ad6fbb17f (patch)
tree87397844616a9ef303a62960f41661834c590566
parent61b3d4b024d8146cb0e7659aa958045ceb72c482 (diff)
limits.h is mandated by C89, no need to check for it
Alan Coopersmith pointed out that C89 mandates limits.h, so for once in X's life, checking for a system header is just being unnecessarily paranoid. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-rw-r--r--configure.ac1
-rw-r--r--parseutils.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 6ed68c6..3ad342c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,6 @@ AC_PROG_INSTALL
AC_CHECK_FUNCS([strdup strcasecmp])
-AC_CHECK_HEADERS([limits.h])
# Checks for pkg-config packages
PKG_CHECK_MODULES(XKBCOMP, x11 xkbfile)
diff --git a/parseutils.c b/parseutils.c
index 3242965..4aa859d 100644
--- a/parseutils.c
+++ b/parseutils.c
@@ -30,9 +30,7 @@
#include <X11/keysym.h>
#include <X11/extensions/XKBgeom.h>
#include <X11/Xalloca.h>
-#ifdef HAVE_LIMITS_H
#include <limits.h>
-#endif
#include <stdlib.h>
XkbFile *rtrnValue;