summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Makefile.am2
-rw-r--r--test/test-udev.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 2adad9c97a..eac141f121 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,7 +1,7 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
-
AM_CPPFLAGS = \
+ -include $(top_builddir)/config.h \
-DVERSION=\"@VERSION@\" \
-I $(top_srcdir)/src/libudev \
-I $(top_srcdir)/src/udev
diff --git a/test/test-udev.c b/test/test-udev.c
index 26e173de63..ba5daf7242 100644
--- a/test/test-udev.c
+++ b/test/test-udev.c
@@ -31,6 +31,7 @@
#include <sched.h>
#include <sys/mount.h>
#include <sys/signalfd.h>
+#include <linux/fs.h>
#include "udev.h"