cpu/native: add missing header in socket zep

Building e.g. gnrc_border_router example on FreeBSD fails due to
missing defines related to sockets. This adds the missing header
<sys/socket.h> to fix compiling.
This commit is contained in:
Sebastian Meiling 2019-12-03 15:34:22 +01:00
parent e6bdcae327
commit 6dd7d6010f

View File

@ -21,6 +21,7 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/time.h> #include <sys/time.h>
#include "async_read.h" #include "async_read.h"