include netinet/in.h in src/nix/main.cc

Fixes #3186

(cherry picked from commit b811bd2172bc9796f42b87996f455d4e5e4382ba)
This commit is contained in:
ng0 2019-11-01 14:09:42 +00:00 committed by Eelco Dolstra
parent 61855a4e7b
commit a53e4e217b

View file

@ -15,6 +15,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <ifaddrs.h> #include <ifaddrs.h>
#include <netdb.h> #include <netdb.h>
#include <netinet/in.h>
extern std::string chrootHelperName; extern std::string chrootHelperName;