summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndrew Kaster <andrewdkaster@gmail.com>2021-01-13 03:45:48 -0700
committerAndreas Kling <kling@serenityos.org>2021-01-13 15:02:11 +0100
commitf67f8fdbf2e4096104006fb539d1f1d5bba42f96 (patch)
tree2372dba8943ecc9d54fce907e3d8d59e4ceb78b7 /Userland
parentff1cc430e24b262e688f1b07fa4b7972c4f8225e (diff)
downloadserenity-f67f8fdbf2e4096104006fb539d1f1d5bba42f96.zip
LibCore: Include fcntl.h in more places that we use fcntl for Lagom
Looks like it's more than just TcpServer where we do this :)
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibCore/UDPServer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCore/UDPServer.cpp b/Userland/Libraries/LibCore/UDPServer.cpp
index 6716865e6b..33d3609c70 100644
--- a/Userland/Libraries/LibCore/UDPServer.cpp
+++ b/Userland/Libraries/LibCore/UDPServer.cpp
@@ -33,6 +33,7 @@
#include <unistd.h>
#ifndef SOCK_NONBLOCK
+# include <fcntl.h>
# include <sys/ioctl.h>
#endif