packages/net/bridge-utils/patches/100-musl-compat.patch
Jo-Philipp Wich c10f93b913 bridge-utils: fix musl compatibility
Add missing includes to libbridge.h to define struct timeval and the
required u_int*_t types under musl.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-16 19:39:25 +02:00

11 lines
242 B
Diff

--- a/libbridge/libbridge.h
+++ b/libbridge/libbridge.h
@@ -19,6 +19,8 @@
#ifndef _LIBBRIDGE_H
#define _LIBBRIDGE_H
+#include <sys/types.h>
+#include <sys/select.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <linux/if.h>