* [patch] libnfnetlink compile fix
@ 2007-03-16 13:20 Thomas Jarosch
2007-03-16 13:36 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Jarosch @ 2007-03-16 13:20 UTC (permalink / raw)
To: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 137 bytes --]
Hello,
attached patch fixes compilation of libnfnetlink for old glibc versions.
Otherwise "struct iovec" is undefined.
Cheers,
Thomas
[-- Attachment #2: libnfnetlink-iovec.patch --]
[-- Type: text/x-diff, Size: 704 bytes --]
diff -u -r -p libnfnetlink-20070315/src/libnfnetlink.c libnfnetlink.iovec/src/libnfnetlink.c
--- libnfnetlink-20070315/src/libnfnetlink.c Tue Feb 27 02:44:02 2007
+++ libnfnetlink.iovec/src/libnfnetlink.c Fri Mar 16 14:15:10 2007
@@ -45,6 +45,7 @@
#include <assert.h>
#include <linux/types.h>
#include <sys/socket.h>
+#include <sys/uio.h>
#include <linux/netlink.h>
diff -u -r -p libnfnetlink-20070315/src/rtnl.c libnfnetlink.iovec/src/rtnl.c
--- libnfnetlink-20070315/src/rtnl.c Mon Feb 12 02:43:31 2007
+++ libnfnetlink.iovec/src/rtnl.c Fri Mar 16 14:15:03 2007
@@ -16,6 +16,7 @@
#include <errno.h>
#include <time.h>
#include <sys/types.h>
+#include <sys/uio.h>
#include <netinet/in.h>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] libnfnetlink compile fix
2007-03-16 13:20 [patch] libnfnetlink compile fix Thomas Jarosch
@ 2007-03-16 13:36 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2007-03-16 13:36 UTC (permalink / raw)
To: Thomas Jarosch; +Cc: netfilter-devel
Thomas Jarosch wrote:
> Hello,
>
> attached patch fixes compilation of libnfnetlink for old glibc versions.
> Otherwise "struct iovec" is undefined.
Applied, thanks Thomas.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-16 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-16 13:20 [patch] libnfnetlink compile fix Thomas Jarosch
2007-03-16 13:36 ` Patrick McHardy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.