summaryrefslogtreecommitdiff
path: root/udev_utils_run.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_utils_run.c')
-rw-r--r--udev_utils_run.c2
1 files changed, 2 insertions, 0 deletions
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)
{