Dear all,

I have problems in compiling the CVS version of capture.c

gcc complains about

gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./wiretap -I/usr/local/include -DINET6 -no-cpp-precomp -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -c `test -f 'capture.c' || echo './'`capture.c
capture.c:210: error: parse error before '*' token
capture.c:211: error: parse error before "loop_data"
capture.c:212: error: parse error before "loop_data"


looking at the code it looks like the
#ifndef _WIN32
#endif

stuff should go after the
typedef struct _lopp_data {
} loop_data
stuff.

At least this fixes the problem under MacOS X.

Best regards
Michael

_______________________________________________
Ethereal-dev mailing list
[EMAIL PROTECTED]
http://www.ethereal.com/mailman/listinfo/ethereal-dev

Reply via email to