From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Blin Date: Fri, 20 Jan 2006 15:11:14 +0000 Subject: [PATCH] fix udev build with -fpie Message-Id: MIME-Version: 1 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: To: linux-hotplug@vger.kernel.org --=-=-= Hi, The following patch fixes udev build with -fpie, by adding missing includes and environ declaration. Regards --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=udev-081-includes.patch Content-Description: fix build with -fpie --- udev-081/udev_sysfs.c.includes 2006-01-16 06:16:57.000000000 +0100 +++ udev-081/udev_sysfs.c 2006-01-20 15:29:30.000000000 +0100 @@ -26,6 +26,7 @@ #include #include #include +#include #include "udev.h" --- udev-081/udev_utils_run.c.includes 2006-01-16 06:16:57.000000000 +0100 +++ udev-081/udev_utils_run.c 2006-01-20 15:38:09.000000000 +0100 @@ -30,9 +30,11 @@ #include #include #include +#include #include "udev.h" +extern char **environ; int pass_env_to_socket(const char *sockname, const char *devpath, const char *action) { --=-=-= -- Olivier Blin - Mandriva --=-=-=-- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel