fixes udev build with -fpie

Add missing includes and environ declaration.
This commit is contained in:
Olivier Blin
2006-01-20 23:18:23 +01:00
committed by Kay Sievers
parent 0ec819d92b
commit aaa14841de
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -26,6 +26,7 @@
#include <fcntl.h>
#include <ctype.h>
#include <errno.h>
#include <sys/stat.h>
#include "udev.h"
+2
View File
@@ -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)
{