diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2020-10-18 18:12:59 +0200 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2020-10-18 18:13:42 +0200 |
commit | ac4546e0dddf580c7e7558531818423dd3c81c3f (patch) | |
tree | 4b5dfb9bed11c533020a35eab2f007895b6fc5d4 /libgphoto2_port | |
parent | d055ca9c9c3d1efc920ac5bf99ba43c7b5470348 (diff) | |
download | libgphoto2-ac4546e0dddf580c7e7558531818423dd3c81c3f.tar.gz |
define _DARWIN_C_SOURCE for strdup on MacOS. fixes https://github.com/gphoto/libgphoto2/issues/552
Diffstat (limited to 'libgphoto2_port')
-rw-r--r-- | libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c b/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c index ee65e8e20..7c5acd6b7 100644 --- a/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c +++ b/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c @@ -21,6 +21,7 @@ * Boston, MA 02110-1301 USA */ #define _GNU_SOURCE +#define _DARWIN_C_SOURCE #include "config.h" |