summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/sample-photobooth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/sample-photobooth.c b/examples/sample-photobooth.c
index 58534fbc8..e65bfce66 100644
--- a/examples/sample-photobooth.c
+++ b/examples/sample-photobooth.c
@@ -10,6 +10,8 @@
#include <stdarg.h>
#include <string.h>
#include <signal.h>
+#include <unistd.h>
+
#include <gphoto2/gphoto2.h>
#include "samples.h"