mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- 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>
|
||||
Reference in New Issue
Block a user