summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
Diffstat (limited to 'udev')
-rw-r--r--udev/lib/Makefile.am2
-rw-r--r--udev/lib/libudev.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/udev/lib/Makefile.am b/udev/lib/Makefile.am
index dadcd55f0f..f1f5fb74b1 100644
--- a/udev/lib/Makefile.am
+++ b/udev/lib/Makefile.am
@@ -1,7 +1,7 @@
AM_CPPFLAGS = \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DUDEV_PREFIX=\""$(udev_prefix)"\" \
- -DLIBUDEV_COMPILATION
+ -D_LIBUDEV_COMPILATION
noinst_PROGRAMS = \
test-libudev
diff --git a/udev/lib/libudev.h b/udev/lib/libudev.h
index cd366c7dfc..3a1c1bf3ac 100644
--- a/udev/lib/libudev.h
+++ b/udev/lib/libudev.h
@@ -21,7 +21,7 @@
#define _LIBUDEV_H_
/* this will stay as long as the DeviceKit integration of udev is work in progress */
-#if !defined LIBUDEV_COMPILATION && !defined LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
+#if !defined _LIBUDEV_COMPILATION && !defined LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
#error "#define LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE is needed to use this experimental library version"
#endif