[master] 3aaf69f Compat for platforms without LOG_AUTHPRIV

Poul-Henning Kamp phk at FreeBSD.org
Thu Apr 16 09:18:49 CEST 2015


commit 3aaf69fc01c916492812a7a863c746459ee19c51
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Apr 16 07:18:38 2015 +0000

    Compat for platforms without LOG_AUTHPRIV

diff --git a/bin/varnishd/mgt/mgt_cli.c b/bin/varnishd/mgt/mgt_cli.c
index 312cf8f..bdbc47a 100644
--- a/bin/varnishd/mgt/mgt_cli.c
+++ b/bin/varnishd/mgt/mgt_cli.c
@@ -59,6 +59,10 @@
 
 #include "mgt_cli.h"
 
+#ifndef LOG_AUTHPRIV
+#  define LOG_AUTHPRIV
+#endif
+
 static int		cli_i = -1, cli_o = -1;
 static struct VCLS	*cls;
 static const char	*secret_file;



More information about the varnish-commit mailing list