r4443 - trunk/varnish-cache/include/compat

tfheen at projects.linpro.no tfheen at projects.linpro.no
Fri Jan 8 20:28:58 CET 2010


Author: tfheen
Date: 2010-01-08 20:28:58 +0100 (Fri, 08 Jan 2010)
New Revision: 4443

Modified:
   trunk/varnish-cache/include/compat/vasprintf.h
Log:
Include stdarg.h in compat/vasprintf.h

Ensure we have va_list defined before trying to use it, fixes
compilation problem on Solaris.

Modified: trunk/varnish-cache/include/compat/vasprintf.h
===================================================================
--- trunk/varnish-cache/include/compat/vasprintf.h	2010-01-08 18:26:09 UTC (rev 4442)
+++ trunk/varnish-cache/include/compat/vasprintf.h	2010-01-08 19:28:58 UTC (rev 4443)
@@ -32,6 +32,8 @@
 #ifndef COMPAT_VASPRINTF_H_INCLUDED
 #define COMPAT_VASPRINTF_H_INCLUDED
 
+#include <stdarg.h>
+
 #ifndef HAVE_VASPRINTF
 int vasprintf(char **strp, const char *fmt, va_list ap);
 #endif



More information about the varnish-commit mailing list