svn compilation failure on MacOS X

191919 191919 at
Thu Mar 12 17:12:43 CET 2009

$ make
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include    -g -O2 -MT
vtc_http.o -MD -MP -MF .deps/vtc_http.Tpo -c -o vtc_http.o vtc_http.c
In file included from vtc_http.c:47:
vtc.h:60: error: syntax error before 'vtc_thread'
vtc.h:60: warning: type defaults to 'int' in declaration of 'vtc_thread'
vtc.h:60: warning: data definition has no type or storage class
make: *** [vtc_http.o] Error 1

#include <pthread.h>

to vtc_http.c solves the problem.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-dev mailing list