diff options
-rw-r--r-- | udev_sysfs.c | 1 | ||||
-rw-r--r-- | udev_utils_run.c | 2 |
2 files changed, 3 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" diff --git a/udev_utils_run.c b/udev_utils_run.c index b6020b0ab6..c6af90658d 100644 --- a/udev_utils_run.c +++ b/udev_utils_run.c @@ -30,9 +30,11 @@ #include <sys/un.h> #include <sys/wait.h> #include <sys/select.h> +#include <unistd.h> #include "udev.h" +extern char **environ; int pass_env_to_socket(const char *sockname, const char *devpath, const char *action) { |