summaryrefslogtreecommitdiff
path: root/src/systemd-hwdb
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd-hwdb')
-rw-r--r--src/systemd-hwdb/Makefile2
-rw-r--r--src/systemd-hwdb/hwdb.c26
2 files changed, 15 insertions, 13 deletions
diff --git a/src/systemd-hwdb/Makefile b/src/systemd-hwdb/Makefile
index ce10c46e99..bf14199ffe 100644
--- a/src/systemd-hwdb/Makefile
+++ b/src/systemd-hwdb/Makefile
@@ -73,4 +73,6 @@ EXTRA_DIST += \
hwdb/ids-update.pl \
hwdb/sdio.ids
+systemd.CPPFLAGS += -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\"
+
include $(topsrcdir)/build-aux/Makefile.tail.mk
diff --git a/src/systemd-hwdb/hwdb.c b/src/systemd-hwdb/hwdb.c
index 1160dacdf1..5ec2ba6169 100644
--- a/src/systemd-hwdb/hwdb.c
+++ b/src/systemd-hwdb/hwdb.c
@@ -22,19 +22,19 @@
#include <stdlib.h>
#include <string.h>
-#include "alloc-util.h"
-#include "conf-files.h"
-#include "fd-util.h"
-#include "fileio.h"
-#include "fs-util.h"
-#include "hwdb-internal.h"
-#include "hwdb-util.h"
-#include "mkdir.h"
-#include "strbuf.h"
-#include "string-util.h"
-#include "strv.h"
-#include "util.h"
-#include "verbs.h"
+#include "basic/alloc-util.h"
+#include "basic/conf-files.h"
+#include "basic/fd-util.h"
+#include "basic/fileio.h"
+#include "basic/fs-util.h"
+#include "sd-hwdb/hwdb-internal.h"
+#include "sd-hwdb/hwdb-util.h"
+#include "basic/mkdir.h"
+#include "basic/strbuf.h"
+#include "basic/string-util.h"
+#include "basic/strv.h"
+#include "basic/util.h"
+#include "basic/verbs.h"
/*
* Generic udev properties, key/value database based on modalias strings.