]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commit
patches: Include fcntl.h and sys/ioctl.h in sockets.c
authorRazvan Deaconescu <razvand@unikraft.io>
Sun, 27 Nov 2022 10:44:47 +0000 (12:44 +0200)
committerUnikraft <monkey@unikraft.io>
Mon, 28 Nov 2022 09:19:35 +0000 (09:19 +0000)
commit2ac10f6e081157c8db706b1c2be77cb7f33190cd
tree225a3d695ed5e0a3e67b774c32144c7ee8684adb
parent560e66eee119c88a36543ef594f8f991a9e7538e
patches: Include fcntl.h and sys/ioctl.h in sockets.c

When using Musl, `fcntl.h` and `sys/ioctl.h` are indirectly included in
`sockets.c` via other header files.

When using nolibc, however, `fcntl.h` and `sys/ioctl.h` are not
included. This commit updates the `sockets.c` patch file to include
`fcntl.h` and `sys/ioctl.h`.

Signed-off-by: Razvan Deaconescu <razvand@unikraft.io>
Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.io>
Approved-by: Marco Schlumpp <marco@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #27
patches/0010-src-api-Make-sockets.c-compatible-with-Musl.patch