Author: tjansen Date: Wed Nov 11 12:07:03 2009 New Revision: 1632 Log: Replaced __USE_BSD by _BSD_SOURCE. features.h takes care of converting that, never define __* directly. Modified: trunk/libpisa/nat.c Modified: trunk/libpisa/nat.c ============================================================================== --- trunk/libpisa/nat.c Wed Nov 11 11:53:17 2009 (r1631) +++ trunk/libpisa/nat.c Wed Nov 11 12:07:03 2009 (r1632) @@ -10,10 +10,9 @@ * @date Jun. 2009 */ -#include <netinet/ip.h> - /* Use BSD style packet headers for tcp and udp */ -#define __FAVOR_BSD +#define _BSD_SOURCE +#include <netinet/ip.h> #include <netinet/udp.h> #include <netinet/tcp.h>