gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / tests / test-getsockopt.c
index 38158ae..7bbf73c 100644 (file)
@@ -22,6 +22,7 @@
 SIGNATURE_CHECK (getsockopt, int, (int, int, int, void *, socklen_t *));
 
 #include <errno.h>
+#include <unistd.h>
 
 #include "sockets.h"
 #include "macros.h"