about summary refs log tree commit diff
path: root/sysdeps/generic/memchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/memchr.c')
-rw-r--r--sysdeps/generic/memchr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/memchr.c b/sysdeps/generic/memchr.c
index 1731574907..5ceb2ba7c9 100644
--- a/sysdeps/generic/memchr.c
+++ b/sysdeps/generic/memchr.c
@@ -35,8 +35,8 @@ Cambridge, MA 02139, USA.  */
 # include <string.h>
 #endif
 
-#if defined (HAVE_LIMIT_H) || defined (_LIBC)
-# include <limit.h>
+#if defined (HAVE_LIMITS_H) || defined (_LIBC)
+# include <limits.h>
 #endif
 
 #define LONG_MAX_32_BITS 2147483647