libnfnetlink compile fix
PATCH 1/1 libnfnetlink compile fix
Hello,
attached patch fixes compilation of libnfnetlink for old glibc versions. Otherwise "struct iovec" is undefined.
Cheers,
Thomas
src/libnfnetlink.c +1 -0
@@ -45,6 +45,7 @@#include <assert.h> #include <linux/types.h> #include <sys/socket.h> +#include <sys/uio.h> #include <linux/netlink.h>
src/rtnl.c +1 -0
@@ -16,6 +16,7 @@#include <errno.h> #include <time.h> #include <sys/types.h> +#include <sys/uio.h> #include <netinet/in.h>
Patrick McHardy
AppliedQuoted 4 lines · Thomas Jarosch
Hello,
attached patch fixes compilation of libnfnetlink for old glibc versions. Otherwise "struct iovec" is undefined.
Applied, thanks Thomas.