summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-08-02 20:39:06 +0000
committerJim Meyering <jim@meyering.net>2003-08-02 20:39:06 +0000
commit846a7a53eb21a927ee4263614efa0a5f39a6eeb5 (patch)
tree9b98b043455f29c01bca442820da37250c69a976
parent4c3962cc7a448707f79c5b445f4dcb38de037ced (diff)
downloadcoreutils-846a7a53eb21a927ee4263614efa0a5f39a6eeb5.tar.xz
[!NICE_PRIORITY]: Include <time.h> before <sys/resource.h>
to avoid compilation error on Ultrix. Reported by Christian Krackowizer.
-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