summaryrefslogtreecommitdiffstats
path: root/main/libnl/fix-includes.patch
blob: b9a6bea0644c45281e84be0779afae035e4ed213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- libnl-1.1.orig/lib/netfilter/log.c
+++ libnl-1.1/lib/netfilter/log.c
@@ -18,6 +18,7 @@
  * @{
  */
 
+#include <byteswap.h>
 #include <sys/types.h>
 #include <linux/netfilter/nfnetlink_log.h>
 
--- libnl-1.1.orig/include/netlink/netlink.h
+++ libnl-1.1/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>