ead: fix compile errors with recent kernels
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37482
This commit is contained in:
@@ -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... */
|
||||||
|
|||||||
Reference in New Issue
Block a user