summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nice.c b/src/nice.c
index 6270b8b7c..842ac484b 100644
--- a/src/nice.c
+++ b/src/nice.c
@@ -25,6 +25,7 @@
#include <getopt.h>
#include <sys/types.h>
#ifndef NICE_PRIORITY
+# include <time.h>
# include <sys/resource.h>
#endif