tools: fix the include path for local includes

Make sure we use the local include files, and correct the path accordingly.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-02-17 17:40:57 +10:00
parent d209b66930
commit 223909ed0b
4 changed files with 6 additions and 4 deletions

View file

@ -31,7 +31,7 @@
#include <assert.h>
#include <linux/input.h>
#include "libevdev.h"
#include "libevdev/libevdev.h"
static void
print_abs_bits(struct libevdev *dev, int axis)

View file

@ -36,7 +36,7 @@
#include <assert.h>
#include <linux/input.h>
#include "libevdev.h"
#include "libevdev/libevdev.h"
static void
usage(void)

View file

@ -23,7 +23,6 @@
#include "config.h"
#include <libevdev/libevdev.h>
#include <sys/signalfd.h>
#include <errno.h>
#include <fcntl.h>
@ -36,6 +35,8 @@
#include <string.h>
#include <unistd.h>
#include "libevdev/libevdev.h"
#define min(a, b) (((a) < (b)) ? (a) : (b))
#define max(a, b) (((a) > (b)) ? (a) : (b))

View file

@ -23,7 +23,6 @@
#include "config.h"
#include <libevdev/libevdev.h>
#include <sys/signalfd.h>
#include <errno.h>
#include <fcntl.h>
@ -37,6 +36,8 @@
#include <string.h>
#include <unistd.h>
#include "libevdev/libevdev.h"
#define min(a, b) (((a) < (b)) ? (a) : (b))
#define max(a, b) (((a) > (b)) ? (a) : (b))