Skip to contentSkip to conversation

udev_selinux.c correct includes

PATCH Applied maximilian attems 2 participants 2 messages Sep 5, 2007 – Sep 6, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 udev_selinux.c correct includes

kick libgen.h include, no basename or dirname usage.
add sys/stat.h for S_IFBLK, fixes:
udev_selinux.c:54: error: ‘S_IFBLK’ undeclared (first use in this function)

---
 udev_selinux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
udev_selinux.c +1 -1
index 1ad6e8a..3fa84a0 100644
@@ -24,8 +24,8 @@
 #include <fcntl.h>
 #include <ctype.h>
 #include <limits.h>
-#include <libgen.h>
 #include <errno.h>
+#include <sys/stat.h>
 #include <selinux/selinux.h>
 
 #include "udev.h"
Signature · 12 lines
1.5.3.1


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Applied
#1 lore raw
Quoted 3 lines · maximilian attems

kick libgen.h include, no basename or dirname usage.
add sys/stat.h for S_IFBLK, fixes:
udev_selinux.c:54: error: 'S_IFBLK' undeclared (first use in this function)

Applied.

Thanks,
Kay

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel