From 00fdbcc4af3be82fceb4f1d3a511c043ba2da384 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 1 Jul 2005 17:25:56 +0000 Subject: * xnanosleep.c: Include timespec.h, since OpenBSD 3.4 declares only 'struct timespec;' (!). --- lib/ChangeLog | 5 +++++ lib/xnanosleep.c | 1 + 2 files changed, 6 insertions(+) (limited to 'lib') 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 + + * xnanosleep.c: Include timespec.h, since OpenBSD 3.4 + declares only 'struct timespec;' (!). + 2005-06-30 Jim Meyering * 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 #include "intprops.h" +#include "timespec.h" #ifndef TIME_T_MAX # define TIME_T_MAX TYPE_MAXIMUM (time_t) -- cgit v1.2.3-70-g09d2