summaryrefslogtreecommitdiff
path: root/udev/lib/libudev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-08-29 21:22:24 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-08-29 21:22:24 +0200
commita689165b5a140cd7d5fdd63cacf8fce2f275033d (patch)
treebddd3f2e20383f329b59c17fde50c43596aac0e5 /udev/lib/libudev.h
parent2bb9f412bcd8596d4e8c0197e85c9e4647212674 (diff)
libudev: require LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
Diffstat (limited to 'udev/lib/libudev.h')
-rw-r--r--udev/lib/libudev.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/udev/lib/libudev.h b/udev/lib/libudev.h
index 1eb3745e6f..cd366c7dfc 100644
--- a/udev/lib/libudev.h
+++ b/udev/lib/libudev.h
@@ -20,6 +20,11 @@
#ifndef _LIBUDEV_H_
#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
+#error "#define LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE is needed to use this experimental library version"
+#endif
+
struct udev;
struct udev_device;
struct udev_monitor;