diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2023-02-14 14:56:02 +0100 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2023-02-14 14:56:26 +0100 |
commit | 3aa4e89ac8f908b39881e58a10646dce0d833312 (patch) | |
tree | e0fedd9852b87f98b9f0e69e8dd0c619bb926060 /libgphoto2 | |
parent | 236f51e113ef9b171c6b3b0d31b272cc54a8a0aa (diff) | |
download | libgphoto2-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.c | 1 |
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> |