about summary refs log tree commit diff
path: root/sysdeps/generic/bits/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/bits/resource.h')
-rw-r--r--sysdeps/generic/bits/resource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/generic/bits/resource.h b/sysdeps/generic/bits/resource.h
index d0ebeb56c8..e72836d3c7 100644
--- a/sysdeps/generic/bits/resource.h
+++ b/sysdeps/generic/bits/resource.h
@@ -21,6 +21,8 @@
 # error "Never use <bits/resource.h> directly; include <sys/resource.h> instead."
 #endif
 
+#include <bits/types.h>
+
 /* These are the values for 4.4 BSD and GNU.  Earlier BSD systems have a
    subset of these kinds of resource limit.  In systems where `getrlimit'
    and `setrlimit' are not system calls, these are the values used by the C