diff -uNr distcc/src/util.c distcc.mod/src/util.c
--- distcc/src/util.c	2018-07-27 08:08:55.000000000 +0300
+++ distcc.mod/src/util.c	2019-02-05 16:49:03.805286863 +0200
@@ -39,6 +39,9 @@
 #include <sys/un.h>
 #include <sys/socket.h>
 
+#include <linux/in.h>
+#include <linux/in6.h>
+
 #ifdef HAVE_SYS_RESOURCE_H
 #include <sys/resource.h>
 #endif
