$ 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

Adding
#include <pthread.h>

to vtc_http.c solves the problem.

Regards,
jh
_______________________________________________
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev

Reply via email to