]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* xnanosleep.c: Include timespec.h, since OpenBSD 3.4 <time.h>
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Jul 2005 17:25:56 +0000 (17:25 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Jul 2005 17:25:56 +0000 (17:25 +0000)
declares only 'struct timespec;' (!).

lib/ChangeLog
lib/xnanosleep.c

index 28f2ddf80950a42e4c8d611d095cb8364739eef1..22961e5a7177cadbb47f18abf5ce7b02e410e926 100644 (file)
@@ -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.
index 08ad61002d3e4c3f1252ddcdb0ebb9d113bdd565..f2d9e93be3a80648b94f8c33ac4a1c1b26b8da88 100644 (file)
@@ -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)