* [PATCH] fix udev build with -fpie
@ 2006-01-20 15:11 Olivier Blin
2006-01-20 22:17 ` Kay Sievers
0 siblings, 1 reply; 2+ messages in thread
From: Olivier Blin @ 2006-01-20 15:11 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 116 bytes --]
Hi,
The following patch fixes udev build with -fpie, by adding missing
includes and environ declaration.
Regards
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: fix build with -fpie --]
[-- Type: text/x-patch, Size: 646 bytes --]
--- 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 <fcntl.h>
#include <ctype.h>
#include <errno.h>
+#include <sys/stat.h>
#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 <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)
{
[-- Attachment #3: Type: text/plain, Size: 29 bytes --]
--
Olivier Blin - Mandriva
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fix udev build with -fpie
2006-01-20 15:11 [PATCH] fix udev build with -fpie Olivier Blin
@ 2006-01-20 22:17 ` Kay Sievers
0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2006-01-20 22:17 UTC (permalink / raw)
To: linux-hotplug
On Fri, Jan 20, 2006 at 04:11:14PM +0100, Olivier Blin wrote:
>
> The following patch fixes udev build with -fpie, by adding missing
> includes and environ declaration.
Applied, thanks!
Kay
-------------------------------------------------------
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\x103432&bid#0486&dat\x121642
_______________________________________________
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-20 22:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-20 15:11 [PATCH] fix udev build with -fpie Olivier Blin
2006-01-20 22:17 ` Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).