summaryrefslogtreecommitdiff
path: root/src/libudev/libudev.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/libudev.h')
-rw-r--r--src/libudev/libudev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libudev/libudev.h b/src/libudev/libudev.h
index 61567b1d67..e54c5bf67c 100644
--- a/src/libudev/libudev.h
+++ b/src/libudev/libudev.h
@@ -20,6 +20,10 @@
#ifndef _LIBUDEV_H_
#define _LIBUDEV_H_
+#ifndef LIBUDEV_LEGACY_VERSION
+#define LIBUDEV_LEGACY_VERSION UDEV_VERSION
+#endif
+
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>