Wireshark-bugs: [Wireshark-bugs] [Bug 2183] New: Wrong inclusion of strptime function
Date: Wed, 9 Jan 2008 13:35:32 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2183

           Summary: Wrong inclusion of strptime function
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: stick@xxxxxx


Build Information:
svn
--
Strptime function is not properly included. It needs __USE_XOPEN macro, but it
is defined in wrong place. It must be defined before _any_ include file.
Otherwise I get "implicit declaration of function `strptime`" (gcc 4.3.0).

Attaching patch.


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