From: des Date: Mon, 7 Aug 2006 16:45:28 +0000 (+0000) Subject: Don't trust the documentation - when it says "additional headers", it X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8f5127c5db4bce5ff5bd829b1827abfb7fc81a8;p=varnish Don't trust the documentation - when it says "additional headers", it actually means "additional code to place before main() in the test program" git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@741 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/configure.ac b/varnish-cache/configure.ac index c9eed4d5..a30603c6 100644 --- a/varnish-cache/configure.ac +++ b/varnish-cache/configure.ac @@ -70,11 +70,11 @@ AC_CHECK_FUNCS([strlcpy]) AC_CHECK_DECL([asprintf], AC_DEFINE(HAVE_ASPRINTF,1,[Define to 1 if asprintf() is available]), , - [stdio.h]) + [#include ]) AC_CHECK_DECL([vasprintf], AC_DEFINE(HAVE_VASPRINTF,1,[Define to 1 if vasprintf() is available]), , - [stdio.h]) + [#include ]) AC_CHECK_DECL([SO_ACCEPTFILER], AC_DEFINE(HAVE_ACCEPT_FILTERS,1,[Define to 1 if you have accept filters]),