linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [udev] udev_selinux.c correct includes
@ 2007-09-05 17:18 maximilian attems
  2007-09-06 11:08 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: maximilian attems @ 2007-09-05 17:18 UTC (permalink / raw)
  To: linux-hotplug

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)

Signed-off-by: maximilian attems <max@stro.at>
---
 udev_selinux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/udev_selinux.c b/udev_selinux.c
index 1ad6e8a..3fa84a0 100644
--- a/udev_selinux.c
+++ b/udev_selinux.c
@@ -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"
-- 
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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-06 11:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-05 17:18 [PATCH] [udev] udev_selinux.c correct includes maximilian attems
2007-09-06 11:08 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).