Public headers shouldn't include config.h, it may cause wrong behaviour. Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> --- libwacom/libwacom.h | 4 ---- tools/show-svg-image.c | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libwacom/libwacom.h b/libwacom/libwacom.h index a899702..b3e1444 100644 --- a/libwacom/libwacom.h +++ b/libwacom/libwacom.h @@ -24,10 +24,6 @@ * Peter Hutterer (peter.hutte...@redhat.com) */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - /** @cond hide_from_doxygen */ #ifndef _LIBWACOM_H_ diff --git a/tools/show-svg-image.c b/tools/show-svg-image.c index 068e347..f64523a 100644 --- a/tools/show-svg-image.c +++ b/tools/show-svg-image.c @@ -24,6 +24,10 @@ * Olivier Fourdan <ofour...@redhat.com> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> -- 1.8.3.1 ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel