aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: