Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 20 Mar 2012 01:54:46 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: vncpcap2john.cpp + Mac OS X

Erik, Dhiru -

On Mon, Mar 19, 2012 at 05:23:43PM -0400, Erik Winkler wrote:
> Actually got it to work by modifying the code to use BSD tcp structure variables instead of Linux.  Using #define __FAVOR_BSD also allows it to compile and work in Linux as well.  Could not get it to work with #define _BSD_SOURCE on my Linux.

Regarding #define _BSD_SOURCE, you must do it as the very first thing
(before the very first #include), whereas #define __FAVOR_BSD has a
tends to work even if specified in-between the #include directives (yet
is a wrong thing to do and may result in problems).  My guess is that
you tried placing #define _BSD_SOURCE after some #include directive.

Thanks,

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.