diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-07-01 17:25:56 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-07-01 17:25:56 +0000 |
commit | 00fdbcc4af3be82fceb4f1d3a511c043ba2da384 (patch) | |
tree | 3ae36cb237999efedbfcb33953b89362e34ba63a /lib | |
parent | cfa2bfb98e8c4c79c02de28c379714a4c2582ebb (diff) | |
download | coreutils-00fdbcc4af3be82fceb4f1d3a511c043ba2da384.tar.xz |
* xnanosleep.c: Include timespec.h, since OpenBSD 3.4 <time.h>
declares only 'struct timespec;' (!).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ChangeLog | 5 | ||||
-rw-r--r-- | lib/xnanosleep.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index 28f2ddf80..22961e5a7 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2005-07-01 Paul Eggert <eggert@cs.ucla.edu> + + * xnanosleep.c: Include timespec.h, since OpenBSD 3.4 <time.h> + declares only 'struct timespec;' (!). + 2005-06-30 Jim Meyering <jim@meyering.net> * stdopen.c: Add copyright. diff --git a/lib/xnanosleep.c b/lib/xnanosleep.c index 08ad61002..f2d9e93be 100644 --- a/lib/xnanosleep.c +++ b/lib/xnanosleep.c @@ -33,6 +33,7 @@ #include <time.h> #include "intprops.h" +#include "timespec.h" #ifndef TIME_T_MAX # define TIME_T_MAX TYPE_MAXIMUM (time_t) |