Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 19 Mar 2012 18:03:47 -0400
From: Erik Winkler <>
Subject: Re: vncpcap2john.cpp + Mac OS X

> 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.

That is where I put it, before any #include statements.  I get the structure errors since the BSD structure is different from the standard Linux structure.  Only _FAVOR_BSD fixes this issue.


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.