Ensure we get the mkstemp() declaration. On MacOS X, it comes from <unistd.h>.
[gnulib.git] / modules / nanosleep
index 64cc02e..3035a13 100644 (file)
@@ -7,9 +7,11 @@ m4/nanosleep.m4
 
 Depends-on:
 clock-time
-timespec
-stdbool
 extensions
+gettime
+stdbool
+sys_time
+time
 
 configure.ac:
 gl_FUNC_NANOSLEEP
@@ -17,7 +19,10 @@ gl_FUNC_NANOSLEEP
 Makefile.am:
 
 Include:
-"timespec.h"
+<time.h>
+
+Link:
+$(LIB_NANOSLEEP)
 
 License:
 GPL