From 1e7281fe0ac41431d59b4120fb709fa6581f6732 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 5 Dec 2016 20:56:23 +1000 Subject: [PATCH] tools: include config.h in libinput-list-devices and ptraccel-debug Signed-off-by: Peter Hutterer --- tools/libinput-list-devices.c | 3 ++- tools/ptraccel-debug.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/libinput-list-devices.c b/tools/libinput-list-devices.c index 2869dd7a..e2023880 100644 --- a/tools/libinput-list-devices.c +++ b/tools/libinput-list-devices.c @@ -21,7 +21,8 @@ * DEALINGS IN THE SOFTWARE. */ -#define _GNU_SOURCE +#include "config.h" + #include #include #include diff --git a/tools/ptraccel-debug.c b/tools/ptraccel-debug.c index aa887fec..a5b9a09b 100644 --- a/tools/ptraccel-debug.c +++ b/tools/ptraccel-debug.c @@ -20,7 +20,8 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ -#define _GNU_SOURCE + +#include "config.h" #include #include