From 474c0e8774cc27ae07ffc9782041e1262f06f4c4 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 1 Jul 2005 17:25:01 +0000 Subject: [PATCH] * 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(+) diff --git a/lib/ChangeLog b/lib/ChangeLog index f984c9c757..5597602928 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-29 Jim Meyering * mkdir-p.c (make_dir_parents): Don't apply sizeof to a hard-coded diff --git a/lib/xnanosleep.c b/lib/xnanosleep.c index 08ad61002d..f2d9e93be3 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) -- 2.30.2