From cc664579f8d12c6c87948eca0ca0dd6824e35097 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 10 Aug 2003 17:50:11 +0000 Subject: [!NICE_PRIORITY]: Include after system.h so the types from time.h and sys/time.h are available. It appears that this is necessary for OpenBSD, NetBSD, and Darwin 6.5 (MacOS 10.2.5). Reported by Nelson Beebe. --- src/nice.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/nice.c b/src/nice.c index 842ac484b..487fb5510 100644 --- a/src/nice.c +++ b/src/nice.c @@ -24,12 +24,15 @@ #include #include + +#include "system.h" + #ifndef NICE_PRIORITY -# include +/* Include this after "system.h" so we're sure to have definitions + (from time.h or sys/time.h) required for e.g. the ru_utime member. */ # include #endif -#include "system.h" #include "error.h" #include "long-options.h" #include "posixver.h" -- cgit v1.2.3-70-g09d2