about summary refs log tree commit diff
path: root/sysdeps/generic/setrlimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/setrlimit.c')
-rw-r--r--sysdeps/generic/setrlimit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/setrlimit.c b/sysdeps/generic/setrlimit.c
index b969ea19f7..85eb74051b 100644
--- a/sysdeps/generic/setrlimit.c
+++ b/sysdeps/generic/setrlimit.c
@@ -16,8 +16,9 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#include <sys/resource.h>
 #include <errno.h>
+#include <sys/resource.h>
+#include <sys/types.h>
 
 /* Set the soft and hard limits for RESOURCE to *RLIMITS.
    Only the super-user can increase hard limits.