CC wcmConfig.lo wcmConfig.c: In function ‘NewWcmPreInit’: wcmConfig.c:515:3: warning: implicit declaration of function ‘asprintf’ wcmConfig.c:515:3: warning: nested extern declaration of ‘asprintf’
CC wcmValidateDevice.lo wcmValidateDevice.c: In function ‘wcmOptionDupConvert’: wcmValidateDevice.c:320:2: warning: implicit declaration of function ‘asprintf’ wcmValidateDevice.c:320:2: warning: nested extern declaration of ‘asprintf’ Signed-off-by: Peter Hutterer <[email protected]> --- Ping, can you please test this? somehow my inclusion order is different, so I don't get the asprintf warnings. src/wcmConfig.c | 2 ++ src/wcmValidateDevice.c | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/wcmConfig.c b/src/wcmConfig.c index af385f2..c894272 100644 --- a/src/wcmConfig.c +++ b/src/wcmConfig.c @@ -26,6 +26,8 @@ #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> +#define _GNU_SOURCE +#include <stdio.h> /***************************************************************************** * wcmAllocate -- diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c index e3ee091..2e71d46 100644 --- a/src/wcmValidateDevice.c +++ b/src/wcmValidateDevice.c @@ -25,6 +25,8 @@ #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> +#define _GNU_SOURCE +#include <stdio.h> /* wcmCheckSource - Check if there is another source defined this device * before or not: don't add the tool by hal/udev if user has defined at least -- 1.7.3.4 ------------------------------------------------------------------------------ Forrester recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
