summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2021-10-25 00:12:36 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2021-10-25 00:13:03 +0200
commit3730b4cf9bc8e3de328441f1f21b998f88b22b5f (patch)
tree184c8b79880ba2325b8bcf825b1229e9220582fa /examples
parent54e0d7fa1051145f53c268a35185c93c07c6742b (diff)
downloadlibgphoto2-3730b4cf9bc8e3de328441f1f21b998f88b22b5f.tar.gz
example: include <unistd.h> for close(2), unlink(2), getpid(2)
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"