summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@bluestop.org>2018-09-25 17:23:12 -0600
committerRebecca Cran <rebecca@bluestop.org>2018-09-25 17:23:12 -0600
commit7791f9e38d7510c3728dc8f456ff6f8a6d1c0c64 (patch)
treea1e8dbbe4377eeb5077d9e8250e70abc92862f84
parentc77c62651b8974b8d3c738467138250078c112fe (diff)
downloaddistcc-git-7791f9e38d7510c3728dc8f456ff6f8a6d1c0c64.tar.gz
Include netinet/in.h in src/util.c for sockaddr_in structure
-rw-r--r--src/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c
index 71b6d25..216acd8 100644
--- a/src/util.c
+++ b/src/util.c
@@ -39,6 +39,8 @@
#include <sys/un.h>
#include <sys/socket.h>
+#include <netinet/in.h>
+
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif