about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2013-01-23 17:27:45 +0100
committerPino Toscano <toscano.pino@tiscali.it>2013-01-23 17:27:45 +0100
commit92a601b883c7886e33ac53a20139e76e57420a2f (patch)
treeed7753373b7065243a86c52d340caef1e7af4b77
parent9cbbc4aebe27c84d8e598994e176493f339ab1c1 (diff)
downloadglibc-92a601b883c7886e33ac53a20139e76e57420a2f.tar.gz
glibc-92a601b883c7886e33ac53a20139e76e57420a2f.tar.xz
glibc-92a601b883c7886e33ac53a20139e76e57420a2f.zip
ulimit: include <limits.h>
-rw-r--r--ChangeLog1
-rw-r--r--sysdeps/posix/ulimit.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f74cf10738..2163c24e78 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
 	* sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
 	* sysdeps/posix/ulimit.c: ... this.
+	Include <limits.h>.
 
 2013-01-23  Adam Conrad  <adconrad@0c3.net>
 
diff --git a/sysdeps/posix/ulimit.c b/sysdeps/posix/ulimit.c
index 8c382ac18f..f5ee6bfc9b 100644
--- a/sysdeps/posix/ulimit.c
+++ b/sysdeps/posix/ulimit.c
@@ -20,6 +20,7 @@
 #include <sysdep.h>
 #include <ulimit.h>
 #include <unistd.h>
+#include <limits.h>
 #include <sys/resource.h>
 
 /* Function depends on CMD: