samples: sockets: echo_async: Don't include <sys/fcntl.h>
POSIX doesn't mandate such a header, only <fcntl.h>. <sys/fnctl.h> is just an internal implementation detail of Newlib on which we should not rely. This makes it possible to build this sample against minimal libc. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
parent
c356b5786f
commit
5ea1e23202
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
#include <logging/log.h>
|
||||
LOG_MODULE_REGISTER(net_echo_async_sample, LOG_LEVEL_DBG);
|
||||
|
||||
#include <sys/fcntl.h>
|
||||
#include <fcntl.h>
|
||||
#include <net/socket.h>
|
||||
#include <kernel.h>
|
||||
#include <net/net_app.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue