summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-12-05 20:56:23 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-12-06 11:02:14 +1000
commit1e7281fe0ac41431d59b4120fb709fa6581f6732 (patch)
treece67d612e01299e18cda9a2d3b43a3e22bbb56cf /tools
parent68513d040d350ec967245f95adc25e82f0f54d74 (diff)
tools: include config.h in libinput-list-devices and ptraccel-debug
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/libinput-list-devices.c3
-rw-r--r--tools/ptraccel-debug.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/libinput-list-devices.c b/tools/libinput-list-devices.c
index 2869dd7..e202388 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 <errno.h>
#include <stdbool.h>
#include <stdio.h>
diff --git a/tools/ptraccel-debug.c b/tools/ptraccel-debug.c
index aa887fe..a5b9a09 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 <assert.h>
#include <errno.h>