diff options
-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) |