The header is pulled in by libinput.h, the libs by libinput but make this
explicit.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
AM_CPPFLAGS = -I$(top_srcdir)/src
event_debug_SOURCES = event-debug.c
-event_debug_LDADD = ../src/libinput.la
+event_debug_LDADD = ../src/libinput.la $(LIBUDEV_LIBS)
event_debug_LDFLAGS = -static
+event_debug_CFLAGS = $(LIBUDEV_CFLAGS)
#include <string.h>
#include <time.h>
#include <unistd.h>
+#include <libudev.h>
#include <linux/input.h>
#include <sys/ioctl.h>
#include <sys/signalfd.h>