summaryrefslogtreecommitdiff
path: root/libgphoto2_port
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_port
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_port')
-rw-r--r--libgphoto2_port/gphoto2/gphoto2-port-portability.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgphoto2_port/gphoto2/gphoto2-port-portability.h b/libgphoto2_port/gphoto2/gphoto2-port-portability.h
index eda812893..797fff603 100644
--- a/libgphoto2_port/gphoto2/gphoto2-port-portability.h
+++ b/libgphoto2_port/gphoto2/gphoto2-port-portability.h
@@ -37,6 +37,7 @@
# include <string.h>
# include <stdio.h>
# include <direct.h>
+# include <unistd.h>
# ifndef IOLIBS
# define IOLIBS "."