void-packages/srcpkgs/libnl/patches/fix-includes.patch
2015-05-08 11:52:54 +02:00

25 lines
508 B
Diff

--- lib/netfilter/log.c
+++ lib/netfilter/log.c
@@ -18,6 +18,7 @@
* @{
*/
+#include <byteswap.h>
#include <sys/types.h>
#include <linux/netfilter/nfnetlink_log.h>
--- include/netlink/netlink.h
+++ include/netlink/netlink.h
@@ -12,11 +12,11 @@
#ifndef NETLINK_NETLINK_H_
#define NETLINK_NETLINK_H_
+#include <poll.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
-#include <sys/poll.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/time.h>