summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2019-03-09 14:12:25 +0100
committerMarcus Meissner <marcus@jet.franken.de>2019-03-09 14:12:25 +0100
commit88df661051504e5bc232c51cceefc0932d18d236 (patch)
treecd2deae765719eba6f6735734e713a11f7f5b8df /examples
parentc8f87aa287a0e39f20d3161f8120b5f6cf0a8886 (diff)
downloadlibgphoto2-88df661051504e5bc232c51cceefc0932d18d236.tar.gz
added unistd.h include for older systems
Diffstat (limited to 'examples')
-rw-r--r--examples/sample-trigger-capture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/sample-trigger-capture.c b/examples/sample-trigger-capture.c
index 688521756..b54ccf7d5 100644
--- a/examples/sample-trigger-capture.c
+++ b/examples/sample-trigger-capture.c
@@ -7,6 +7,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
+#include <unistd.h>
#include <stdarg.h>
#include <string.h>
#include <gphoto2/gphoto2.h>