* [PATCH 1/4] Fix -Wall warnings in udev 054
@ 2005-03-10 14:31 Tobias Klauser
2005-03-10 17:52 ` Kay Sievers
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Klauser @ 2005-03-10 14:31 UTC (permalink / raw)
To: linux-hotplug
Hi,
The following patch fixes a warning when compiling udev with
the -Wall compiler flag. unlink() is defined in unistd.h so we
include it.
Thanks, Tobias
Sigend-off-by: Tobias Klauser <tklauser@access.unizh.ch>
diff -urpN udev-054.orig/udev_db.c udev-054/udev_db.c
--- udev-054.orig/udev_db.c 2005-03-01 21:19:49.000000000 +0100
+++ udev-054/udev_db.c 2005-03-03 22:52:53.000000000 +0100
@@ -30,6 +30,7 @@
#include <string.h>
#include <errno.h>
#include <dirent.h>
+#include <unistd.h>
#include "libsysfs/sysfs/libsysfs.h"
#include "udev.h"
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click
_______________________________________________
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:[~2005-03-10 17:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-10 14:31 [PATCH 1/4] Fix -Wall warnings in udev 054 Tobias Klauser
2005-03-10 17:52 ` 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).