aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-09-22 12:14:50 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-09-22 12:14:50 +0200
commitbcd73ebf60bb9ba6cb09f8df4366d5474c16e4a4 (patch)
tree3809ddff7f0bcb6c47457c425558896ef34d89d3 /src/libstore
parent3c1cd09109752e98b0a6958ead2e0c79a636b242 (diff)
Add missing #include
Fixes #5282.
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/build/local-derivation-goal.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/build/local-derivation-goal.cc b/src/libstore/build/local-derivation-goal.cc
index 518edae9c..de4c95e8e 100644
--- a/src/libstore/build/local-derivation-goal.cc
+++ b/src/libstore/build/local-derivation-goal.cc
@@ -24,6 +24,7 @@
#include <sys/mman.h>
#include <sys/utsname.h>
#include <sys/resource.h>
+#include <sys/socket.h>
#if HAVE_STATVFS
#include <sys/statvfs.h>