Wireshark-dev: Re: [Wireshark-dev] Adding tap to dissector causes build errors in tap.h?
From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Sun, 11 Apr 2010 18:44:56 -0400
Try #including the other header files required by tap.h.
- Chris
________________________________________
From: wireshark-dev-bounces@xxxxxxxxxxxxx [wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Shawn Mayer [mayer_sr@xxxxxxxx]
Sent: Sunday, April 11, 2010 5:52 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Adding tap to dissector causes build errors in tap.h?

After reverting back to the original file I found that tap.h throws
errors even if the only change I make is adding the "#include <tap.h>".
I've tried including it in packet-aim.c and packet-aim-messaging.c with
the same results:


register.c
packet-aim-messaging.c
c:\wireshark\epan\tap.h(31) : error C2143: syntax error : missing ')'
before '*'
[snip]
CONFIDENTIALITY NOTICE: The contents of this email are confidential
and for the exclusive use of the intended recipient. If you receive this
email in error, please delete it from your system immediately and 
notify us either by email, telephone or fax. You should not copy,
forward, or otherwise disclose the content of the email.