[Repository Listing] / [Wireshark]
 
Wireshark development

Revision 38437


Jump to revision: Previous Next
Author: morriss
Date: Tue Aug 9 21:02:10 2011 UTC (21 months, 2 weeks ago)
Log Message:
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5608 :

getopt() can/should normally be found in unistd.h, so:

- When testing for getopt(), define that we HAVE_GETOPT instead of
  HAVE_GETOPT_H (to avoid confusion).
- Don't attempt to include getopt.h: not all OS's have it (for example,
  Solaris 9 does not).
- (All the places which need getopt already include unistd.h (if we have it).)

If this breaks things on some OS, we might need (a real) HAVE_GETOPT_H check.


Changed paths

Path Action
trunk/capinfos.c trunk/capinfos.c modified Revision Log
Diff to Previous
trunk/configure.in trunk/configure.in modified Rev…
Diff…
trunk/dumpcap.c trunk/dumpcap.c modified Rev…
Diff…
trunk/editcap.c trunk/editcap.c modified Rev…
Diff…
trunk/gtk/main.c trunk/gtk/main.c modified Rev…
Diff…
trunk/mergecap.c trunk/mergecap.c modified Rev…
Diff…
trunk/randpkt.c trunk/randpkt.c modified Rev…
Diff…
trunk/rawshark.c trunk/rawshark.c modified Rev…
Diff…
trunk/text2pcap.c trunk/text2pcap.c modified Rev…
Diff…
trunk/tshark.c trunk/tshark.c modified Rev…
Diff…

webmaster [at] wireshark.org
Tango Icons © Tango Desktop Project. Subversion  TortoiseSVN  ViewVC