summaryrefslogtreecommitdiff
path: root/udev_sysfs.c
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2006-01-20 23:18:23 +0100
committerKay Sievers <kay.sievers@suse.de>2006-01-20 23:18:23 +0100
commitaaa14841de57fc0d8c92514da9453c58d9ba59fe (patch)
tree054857799d0b3f4364d5838cd0b95e2d928ee333 /udev_sysfs.c
parent0ec819d92bd53a2f64e738c40bde39e4d2dd66be (diff)
fixes udev build with -fpie
Add missing includes and environ declaration.
Diffstat (limited to 'udev_sysfs.c')
-rw-r--r--udev_sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev_sysfs.c b/udev_sysfs.c
index 172f0ce1fd..d1e43a60ee 100644
--- a/udev_sysfs.c
+++ b/udev_sysfs.c
@@ -26,6 +26,7 @@
#include <fcntl.h>
#include <ctype.h>
#include <errno.h>
+#include <sys/stat.h>
#include "udev.h"