Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx> Date: Fri Feb 19 21:23:12 2010 +0100 Revision: 3690 Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: Fix pfkey-enabled build. Modified: M hipd/pfkeyapi.c M lib/ipsec/pfkey.c === modified file 'hipd/pfkeyapi.c' --- hipd/pfkeyapi.c 2010-02-10 22:32:46 +0000 +++ hipd/pfkeyapi.c 2010-02-19 20:23:12 +0000 @@ -5,6 +5,9 @@ * - Diego Beltrami <diego.beltrami@xxxxxxxxx> */ +/* required for caddr_t */ +#define _BSD_SOURCE + #ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ === modified file 'lib/ipsec/pfkey.c' --- lib/ipsec/pfkey.c 2010-02-18 14:58:39 +0000 +++ lib/ipsec/pfkey.c 2010-02-19 20:23:12 +0000 @@ -31,6 +31,9 @@ * SUCH DAMAGE. */ +/* required for caddr_t */ +#define _BSD_SOURCE + #ifdef HAVE_CONFIG_H #include "config.h" #endif