mirror of
https://github.com/cesanta/mongoose.git
synced 2025-07-26 07:06:15 +08: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:
parent
da303b8b4f
commit
606009afb0
@ -3,6 +3,7 @@
|
|||||||
//
|
//
|
||||||
// example using MIP and a TUN/TAP interface
|
// example using MIP and a TUN/TAP interface
|
||||||
|
|
||||||
|
#include <sys/socket.h>
|
||||||
#include <linux/if.h>
|
#include <linux/if.h>
|
||||||
#include <linux/if_tun.h>
|
#include <linux/if_tun.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user