summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--otherlibs/unix/nice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/otherlibs/unix/nice.c b/otherlibs/unix/nice.c
index 609873aaf..dbd9805db 100644
--- a/otherlibs/unix/nice.c
+++ b/otherlibs/unix/nice.c
@@ -17,6 +17,7 @@
#ifdef HAS_GETPRIORITY
+#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>