aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-01 14:09:42 +0000
committerng0 <ng0@n0.is>2019-11-01 14:09:42 +0000
commitb811bd2172bc9796f42b87996f455d4e5e4382ba (patch)
tree90d5dcea6025135fdb68fa6a2c0f6efff0d020f0 /src/nix
parent6c8d0133eff333eaab595bd75179f339ad5847a4 (diff)
include netinet/in.h in src/nix/main.cc
Fixes #3186
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc
index 22f5e8c4c..1c9d909d8 100644
--- a/src/nix/main.cc
+++ b/src/nix/main.cc
@@ -15,6 +15,7 @@
#include <sys/socket.h>
#include <ifaddrs.h>
#include <netdb.h>
+#include <netinet/in.h>
extern std::string chrootHelperName;