* xnanosleep.c: Include timespec.h, since OpenBSD 3.4 <time.h>

declares only 'struct timespec;' (!).
This commit is contained in:
Paul Eggert 2005-07-01 17:25:56 +00:00
parent cfa2bfb98e
commit 00fdbcc4af
2 changed files with 6 additions and 0 deletions

View 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.

View 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)