projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84f2d39
)
kernel - header file includes adjustment
author
Matthew Dillon
<dillon@apollo.backplane.com>
Thu, 25 Oct 2012 03:04:45 +0000
(20:04 -0700)
committer
Matthew Dillon
<dillon@apollo.backplane.com>
Thu, 25 Oct 2012 03:04:45 +0000
(20:04 -0700)
* sys/udev.h ensures that libprop/proplib.h is included.
sys/sys/udev.h
patch
|
blob
|
blame
|
history
diff --git
a/sys/sys/udev.h
b/sys/sys/udev.h
index
5474aa0
..
a1a11fd
100644
(file)
--- a/
sys/sys/udev.h
+++ b/
sys/sys/udev.h
@@
-53,6
+53,12
@@
int udev_dict_delete_key(cdev_t dev, const char *key);
int udev_event_attach(cdev_t dev, char *name, int alias);
int udev_event_detach(cdev_t dev, char *name, int alias);
+#else
+
+#ifndef _PROPLIB_PROPLIB_H_
+#include <libprop/proplib.h>
+#endif
+
#endif /* _KERNEL */
#define UDEVPROP _IOWR('U', 0xBA, struct plistref)