aboutsummaryrefslogtreecommitdiff
path: root/src/nix/daemon.cc
diff options
context:
space:
mode:
authorEmily Trau <emily@downunderctf.com>2023-06-05 20:18:24 -0700
committerEmily Trau <emily@downunderctf.com>2023-06-05 20:18:24 -0700
commitb37dd43db4f0c9d675653c7d423407f368298173 (patch)
tree7985b26bbf1d060bceaf95cfe04c19f7c33f3b53 /src/nix/daemon.cc
parent9c6ede85fc3cd822b5c6b56045ff231a61fcd55f (diff)
Add missing <sys/select.h> include
`select()` may not be ambiently available for use on every platform
Diffstat (limited to 'src/nix/daemon.cc')
-rw-r--r--src/nix/daemon.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/daemon.cc b/src/nix/daemon.cc
index c1a91c63d..9fe9b3b1e 100644
--- a/src/nix/daemon.cc
+++ b/src/nix/daemon.cc
@@ -24,6 +24,7 @@
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/un.h>
+#include <sys/select.h>
#include <errno.h>
#include <pwd.h>
#include <grp.h>