1
0
mirror of https://github.com/systemd/systemd.git synced 2025-08-24 09:49:49 +03:00

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

View File

@ -26,6 +26,7 @@
#include <fcntl.h>
#include <ctype.h>
#include <errno.h>
#include <sys/stat.h>
#include "udev.h"

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)
{