summaryrefslogtreecommitdiff
path: root/udev_selinux.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev_selinux.h')
-rw-r--r--udev_selinux.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/udev_selinux.h b/udev_selinux.h
new file mode 100644
index 0000000000..77a1f36bd9
--- /dev/null
+++ b/udev_selinux.h
@@ -0,0 +1,10 @@
+#ifndef UDEV_SELINUX_H
+#define UDEV_SELINUX_H
+
+#ifdef USE_SELINUX
+extern void selinux_add_node(char *filename);
+#else
+static void selinux_add_node(char *filename) { }
+#endif
+
+#endif