[master] 3e0cdae03 Decouple v_printflike_() from the OS #includes

Poul-Henning Kamp phk at FreeBSD.org
Tue Nov 6 08:20:14 UTC 2018


commit 3e0cdae03c55f9209744610b42e195d45c2b943b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Nov 6 08:19:20 2018 +0000

    Decouple v_printflike_() from the OS #includes

diff --git a/bin/varnishd/cache/cache_acceptor.c b/bin/varnishd/cache/cache_acceptor.c
index bc3c1360b..3874ac70d 100644
--- a/bin/varnishd/cache/cache_acceptor.c
+++ b/bin/varnishd/cache/cache_acceptor.c
@@ -37,7 +37,6 @@
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 #include <sys/socket.h>
-#include <sys/un.h>
 
 #include "cache_varnishd.h"
 
diff --git a/bin/varnishd/mgt/mgt_child.c b/bin/varnishd/mgt/mgt_child.c
index 8617bfdaf..99485af83 100644
--- a/bin/varnishd/mgt/mgt_child.c
+++ b/bin/varnishd/mgt/mgt_child.c
@@ -34,7 +34,6 @@
 #include <sys/types.h>
 #include <sys/wait.h>
 
-#include <fcntl.h>
 #include <poll.h>
 #include <signal.h>
 #include <stdarg.h>


More information about the varnish-commit mailing list