Mailing List Archive

[master] 562c67d Make it possible for Open/Net/DragonFly-BSD to find readline.h
commit 562c67db250ed6decea1015edb5b6170096c123a
Author: Poul-Henning Kamp <phk@FreeBSD.org>
Date: Thu Apr 26 16:10:17 2012 +0000

Make it possible for Open/Net/DragonFly-BSD to find readline.h

diff --git a/bin/varnishadm/varnishadm.c b/bin/varnishadm/varnishadm.c
index f3b8b69..aff9336 100644
--- a/bin/varnishadm/varnishadm.c
+++ b/bin/varnishadm/varnishadm.c
@@ -35,6 +35,8 @@
# include <stdio.h>
# ifdef HAVE_EDIT_READLINE_READLINE_H
# include <edit/readline/readline.h>
+# elif HAVE_READLINE_READLINE_H
+# include <readline/readline.h>
# else
# include <editline/readline.h>
# endif

_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit