summaryrefslogtreecommitdiff
path: root/libgphoto2_port/libusb1
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2021-03-09 07:19:32 +0100
committerMarcus Meissner <marcus@jet.franken.de>2021-03-09 07:19:32 +0100
commit9f76a476874465cdf861ab68ccf542c2fc8d4900 (patch)
tree67ee243ea9cc3b20bd06aa16936a94422bbfbed2 /libgphoto2_port/libusb1
parent98029edc037290ad04a3ae28e8ed7752095d7217 (diff)
downloadlibgphoto2-9f76a476874465cdf861ab68ccf542c2fc8d4900.tar.gz
use isoc99 source https://github.com/gphoto/libgphoto2/issues/633
Diffstat (limited to 'libgphoto2_port/libusb1')
-rw-r--r--libgphoto2_port/libusb1/libusb1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgphoto2_port/libusb1/libusb1.c b/libgphoto2_port/libusb1/libusb1.c
index 134285586..0f67449dc 100644
--- a/libgphoto2_port/libusb1/libusb1.c
+++ b/libgphoto2_port/libusb1/libusb1.c
@@ -20,7 +20,7 @@
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
-#define _DARWIN_C_SOURCE
+#define _ISOC99_SOURCE
#include "config.h"
#include <gphoto2/gphoto2-port-library.h>