projects
/
debian
/
gnuradio
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge commit 'v3.3.0' into upstream
[debian/gnuradio]
/
config
/
gr_pwin32.m4
diff --git
a/config/gr_pwin32.m4
b/config/gr_pwin32.m4
index 7b99cba6b7301de4f0c2720ab8d096cfd6e85b91..495e9dd4d39dba2246bbe9a48ef9fbd6715c2ec6 100644
(file)
--- a/
config/gr_pwin32.m4
+++ b/
config/gr_pwin32.m4
@@
-99,6
+99,9
@@
struct timespec {
long tv_nsec;
};
#endif
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
static inline int nanosleep(const struct timespec *req, struct timespec *rem) { return usleep(req->tv_sec*1000000+req->tv_nsec/1000); }
#endif