summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/socket-auto-port.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/socket-auto-port.c b/docs/socket-auto-port.c
index 850759a..75dffaf 100644
--- a/docs/socket-auto-port.c
+++ b/docs/socket-auto-port.c
@@ -5,6 +5,7 @@
#include <inttypes.h>
#include <errno.h>
#include <stdio.h>
+#include <unistd.h>
int main(int argc, char *argv[]) {
int s;