getcwd: fix compile error in configure check
[gnulib.git] / tests / test-listen.c
index 3f28b65..206923f 100644 (file)
@@ -22,6 +22,7 @@
 SIGNATURE_CHECK (listen, int, (int, int));
 
 #include <errno.h>
+#include <unistd.h>
 
 #include "sockets.h"
 #include "macros.h"