mirror of https://github.com/hak5/openwrt.git
ead: fix compile errors with recent kernels
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37482lede-17.01
parent
7ef37c8e3e
commit
85e585ddce
|
@ -33,7 +33,6 @@ endef
|
||||||
CONFIGURE_PATH = tinysrp
|
CONFIGURE_PATH = tinysrp
|
||||||
|
|
||||||
TARGET_CFLAGS += \
|
TARGET_CFLAGS += \
|
||||||
-I$(LINUX_DIR)/include \
|
|
||||||
-I$(PKG_BUILD_DIR) \
|
-I$(PKG_BUILD_DIR) \
|
||||||
-I$(PKG_BUILD_DIR)/tinysrp \
|
-I$(PKG_BUILD_DIR)/tinysrp \
|
||||||
$(TARGET_CPPFLAGS)
|
$(TARGET_CPPFLAGS)
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <linux/if.h>
|
#include <linux/if.h>
|
||||||
|
#include <linux/in6.h>
|
||||||
#include <linux/if_bridge.h>
|
#include <linux/if_bridge.h>
|
||||||
|
|
||||||
/* defined in net/if.h but that conflicts with linux/if.h... */
|
/* defined in net/if.h but that conflicts with linux/if.h... */
|
||||||
|
|
Loading…
Reference in New Issue