about summary refs log tree commit diff
path: root/manual/examples
diff options
context:
space:
mode:
Diffstat (limited to 'manual/examples')
-rw-r--r--manual/examples/subopt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/manual/examples/subopt.c b/manual/examples/subopt.c
index 8c04a57e02..287fe8c495 100644
--- a/manual/examples/subopt.c
+++ b/manual/examples/subopt.c
@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 int do_all;
 const char *type;