summaryrefslogtreecommitdiff
path: root/camlibs/tp6801
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2023-02-14 14:56:02 +0100
committerMarcus Meissner <marcus@jet.franken.de>2023-02-14 14:56:26 +0100
commit3aa4e89ac8f908b39881e58a10646dce0d833312 (patch)
treee0fedd9852b87f98b9f0e69e8dd0c619bb926060 /camlibs/tp6801
parent236f51e113ef9b171c6b3b0d31b272cc54a8a0aa (diff)
downloadlibgphoto2-3aa4e89ac8f908b39881e58a10646dce0d833312.tar.gz
added some apparent missijng include unistd.h to make it build for mingw/llvm . fixes https://github.com/gphoto/libgphoto2/issues/890
Diffstat (limited to 'camlibs/tp6801')
-rw-r--r--camlibs/tp6801/tp6801.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/camlibs/tp6801/tp6801.c b/camlibs/tp6801/tp6801.c
index b76974bcc..aa9174787 100644
--- a/camlibs/tp6801/tp6801.c
+++ b/camlibs/tp6801/tp6801.c
@@ -30,6 +30,7 @@
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <unistd.h>
#ifdef HAVE_LIBGD
#include <gd.h>
#endif