summaryrefslogtreecommitdiff
path: root/libgphoto2
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 /libgphoto2
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 'libgphoto2')
-rw-r--r--libgphoto2/gphoto2-file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgphoto2/gphoto2-file.c b/libgphoto2/gphoto2-file.c
index 1190720e3..0f933f591 100644
--- a/libgphoto2/gphoto2-file.c
+++ b/libgphoto2/gphoto2-file.c
@@ -37,6 +37,7 @@
#include <string.h>
#include <sys/stat.h>
#include <utime.h>
+#include <unistd.h>
#include <gphoto2/gphoto2-port-log.h>
#include <gphoto2/gphoto2-port-portability.h>