Add missing include

linux/if uses struct sockaddr that is defined in sys/socket.h. This breaks building on some systems. It went unnoticed as it was hidden by mongoose.h being included first
This commit is contained in:
Sergio R. Caprile committed 2022-11-18 10:51:58 -03:00
1 parent da303b8b4f
commit 606009afb0
1 file changed
+1
+1
View File
@@ -3,6 +3,7 @@
//
// example using MIP and a TUN/TAP interface
#include <sys/socket.h>
#include <linux/if.h>
#include <linux/if_tun.h>
#include <sys/ioctl.h>