aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/getrlimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/getrlimit.c')
-rw-r--r--sysdeps/generic/getrlimit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/getrlimit.c b/sysdeps/generic/getrlimit.c
index c283f77038..285133c1a1 100644
--- a/sysdeps/generic/getrlimit.c
+++ b/sysdeps/generic/getrlimit.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>
/* Put the soft and hard limits for RESOURCE in *RLIMITS.
Returns 0 if successful, -1 if not (and sets errno). */