add missing unistd.h include
authorSzabolcs Nagy <nsz@port70.net>
Thu, 9 Apr 2015 00:23:25 +0000 (00:23 +0000)
committerSzabolcs Nagy <nsz@port70.net>
Thu, 9 Apr 2015 00:23:25 +0000 (00:23 +0000)
src/functional/pthread_cancel-points.c

index eb7dac7..8b169a0 100644 (file)
@@ -5,6 +5,7 @@
 #include <string.h>
 #include <sys/mman.h>
 #include <fcntl.h>
 #include <string.h>
 #include <sys/mman.h>
 #include <fcntl.h>
+#include <unistd.h>
 #include "test.h"
 
 #define TESTC(c, m) ( (c) || (t_error(#c " failed (%s, " m ")\n", cdescr), 0) )
 #include "test.h"
 
 #define TESTC(c, m) ( (c) || (t_error(#c " failed (%s, " m ")\n", cdescr), 0) )