ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 2493] Wireshark compile errors for cygwin flex (v 2.5.35)

Date: Thu, 24 Apr 2008 06:49:19 -0700 (PDT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2493





--- Comment #14 from Bill Meier <wmeier@xxxxxxxxxxx>  2008-04-24 06:49:17 GMT ---
> Could you try this patch please?
> +++ c:\Wireshark\config.h.win32 2008-04-24 08:12:05.640625000 +0200

There are 4 lex files which do not #include config.h

./epan/dtd_parse.l
./epan/dtd_preparse.l
./plugins/mate/mate_parser.l
./wiretap/ascend-scanner.l

I'll add the patch to each of those individually:
/*
 * Flex (v 2.5.35) uses this symbol to "exclude" unistd.h
 */
#ifdef _WIN32
#define YY_NO_UNISTD_H
#endif


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.