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 2022-11-15 15:08:09 -03:00
parent da303b8b4f
commit 606009afb0

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>