summaryrefslogtreecommitdiff
path: root/src/sys-socket.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2017-10-29 01:23:19 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2017-10-29 01:23:19 -0400
commit1367f60626bed0991f6ca718ebc1fe2f2912096b (patch)
tree8df0011eb75516d8e7ecdd7040facb2ce362806d /src/sys-socket.h
parentcaab4cdf8a37dbbd660249a4cec8f646239b4ae2 (diff)
downloadlighttpd-git-1367f60626bed0991f6ca718ebc1fe2f2912096b.tar.gz
[core] isolate sock_addr manipulation
Diffstat (limited to 'src/sys-socket.h')
-rw-r--r--src/sys-socket.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sys-socket.h b/src/sys-socket.h
index 93a47404..25b7eb0f 100644
--- a/src/sys-socket.h
+++ b/src/sys-socket.h
@@ -16,8 +16,9 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
+#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
-#include <arpa/inet.h>
+#endif
#endif