From fbb924e3bbcb330d6de2a5f6280403cb43b1aa22 Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Tue, 24 Nov 2009 12:55:34 +0000 Subject: [PATCH] Add workarounds for libusb in c99. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index d67224f..7906e95 100644 --- a/configure.ac +++ b/configure.ac @@ -166,6 +166,9 @@ AC_MSG_RESULT($enable_std_c99) if test x"$enable_std_c99" != "xno" then CFLAGS="$CFLAGS -std=c99" + + # Workarounds for libusb in c99 + CFLAGS="$CFLAGS -Du_int8_t=uint8_t -Du_int16_t=uint16_t" fi AC_CONFIG_FILES([