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_port | |
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_port')
-rw-r--r-- | libgphoto2_port/gphoto2/gphoto2-port-portability.h | 1 |
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 "." |