From b4ebb4510d569ca814ee450a9cba0c3c89e5788f Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Tue, 18 Oct 2011 11:03:54 +0000 Subject: [PATCH] Removes libusb types workaround (r200) as it seems to not be needed anymore but may disturb compiler. --- configure.ac | 3 --- libnfc/log.c | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 5647e15..d561d45 100644 --- a/configure.ac +++ b/configure.ac @@ -149,9 +149,6 @@ CFLAGS="$CFLAGS -Wall -pedantic -Wextra" # Defines and C flags CFLAGS="$CFLAGS -std=c99" -# Workarounds for libusb in c99 -CFLAGS="$CFLAGS -Du_int8_t=uint8_t -Du_int16_t=uint16_t" - AC_CONFIG_FILES([ Doxyfile Makefile diff --git a/libnfc/log.c b/libnfc/log.c index 5d12136..0e40f07 100644 --- a/libnfc/log.c +++ b/libnfc/log.c @@ -19,6 +19,7 @@ #include #include +#include #include "log.h"