From 099dad679e232cb0f2b3ed61e085837310e69c92 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Tue, 3 Nov 2009 08:29:52 -0800 Subject: howto: update m4 files to match latest master --- gr-howto-write-a-block/config/gr_pwin32.m4 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gr-howto-write-a-block/config/gr_pwin32.m4') diff --git a/gr-howto-write-a-block/config/gr_pwin32.m4 b/gr-howto-write-a-block/config/gr_pwin32.m4 index 7b99cba6b..495e9dd4d 100644 --- a/gr-howto-write-a-block/config/gr_pwin32.m4 +++ b/gr-howto-write-a-block/config/gr_pwin32.m4 @@ -99,6 +99,9 @@ struct timespec { long tv_nsec; }; #endif +#if HAVE_UNISTD_H +#include +#endif static inline int nanosleep(const struct timespec *req, struct timespec *rem) { return usleep(req->tv_sec*1000000+req->tv_nsec/1000); } #endif -- cgit