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:
committed by
Kay Sievers
parent
0ec819d92b
commit
aaa14841de
@ -26,6 +26,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "udev.h"
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user