[3.0] e441f59 Make it possible for Open/Net/DragonFly-BSD to find readline.h
Tollef Fog Heen
tfheen at varnish-cache.org
Thu May 24 14:47:44 CEST 2012
commit e441f5939a7d054801f72c77100253c44307890e
Author: Poul-Henning Kamp <phk at 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 e67062f..043aa38 100644
--- a/bin/varnishadm/varnishadm.c
+++ b/bin/varnishadm/varnishadm.c
@@ -41,6 +41,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
More information about the varnish-commit
mailing list