mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-21 11:30:01 +00:00
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:
1 parent
da303b8b4f
commit
606009afb0
1 file changed
+1
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user