summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-06-16 11:15:13 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-16 20:08:13 +0200
commit8393e737b7a246daa4db3bbc4260293e10584bd2 (patch)
tree66683e021de5004bacb56092b083026751b91bd7 /Userland/Libraries
parentd7f0d5ffb8c0bfdf6205363ab56df1336b0b3a42 (diff)
downloadserenity-8393e737b7a246daa4db3bbc4260293e10584bd2.zip
LibC: Make sure the definition for struct timeval is available
Ideally we'd have a separate header with just struct timeval and include that (i.e. in a way similar to how macOS, FreeBSD and glibc do this).
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibC/sys/select.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/sys/select.h b/Userland/Libraries/LibC/sys/select.h
index d1a3f47ecc..57a61cc145 100644
--- a/Userland/Libraries/LibC/sys/select.h
+++ b/Userland/Libraries/LibC/sys/select.h
@@ -10,6 +10,7 @@
#include <signal.h>
#include <string.h>
#include <sys/cdefs.h>
+#include <sys/time.h>
#include <sys/types.h>
__BEGIN_DECLS