diff options
author | Ingvar Stepanyan <me@rreverser.com> | 2022-09-29 08:24:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-29 09:24:00 +0200 |
commit | f34898a0d804a60684d6bc88496ddcf845eac82e (patch) | |
tree | cba86d044ab7038f164897947267c985cb9e712b /libgphoto2_port | |
parent | e34e69bfa56a5f7aef8bf003c685a3c79fd6d74b (diff) | |
download | libgphoto2-f34898a0d804a60684d6bc88496ddcf845eac82e.tar.gz |
Fix building virtual camera on macOS (#843)
Like https://github.com/gphoto/libgphoto2/commit/ac4546e0dddf580c7e7558531818423dd3c81c3f and https://github.com/gphoto/libgphoto2/pull/615, but for virtual camera too.
Diffstat (limited to 'libgphoto2_port')
-rw-r--r-- | libgphoto2_port/vusb/vcamera.c | 2 | ||||
-rw-r--r-- | libgphoto2_port/vusb/vusb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libgphoto2_port/vusb/vcamera.c b/libgphoto2_port/vusb/vcamera.c index 97f6aea34..1dc45baaf 100644 --- a/libgphoto2_port/vusb/vcamera.c +++ b/libgphoto2_port/vusb/vcamera.c @@ -18,7 +18,7 @@ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA */ - +#define _DARWIN_C_SOURCE #include "config.h" #include <gphoto2/gphoto2-port-library.h> #include <gphoto2/gphoto2-port-portability.h> diff --git a/libgphoto2_port/vusb/vusb.c b/libgphoto2_port/vusb/vusb.c index 8f914171c..a711a8460 100644 --- a/libgphoto2_port/vusb/vusb.c +++ b/libgphoto2_port/vusb/vusb.c @@ -18,7 +18,7 @@ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA */ - +#define _DARWIN_C_SOURCE #include "config.h" #include <gphoto2/gphoto2-port-library.h> |