]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
[!NICE_PRIORITY]: Include <time.h> before <sys/resource.h>
authorJim Meyering <jim@meyering.net>
Sat, 2 Aug 2003 20:39:06 +0000 (20:39 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 2 Aug 2003 20:39:06 +0000 (20:39 +0000)
to avoid compilation error on Ultrix. Reported by Christian Krackowizer.

src/nice.c

index 6270b8b7c7ef4796752a83b34c293e21ba311bbd..842ac484b7ed3983b69f480953970619854c73fc 100644 (file)
@@ -25,6 +25,7 @@
 #include <getopt.h>
 #include <sys/types.h>
 #ifndef NICE_PRIORITY
+# include <time.h>
 # include <sys/resource.h>
 #endif