Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx> Date: Fri Feb 12 18:00:10 2010 +0100 Revision: 3623 Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: Fix midauth-enabled build. Modified: M firewall/midauth.c M firewall/pisa.c === modified file 'firewall/midauth.c' --- firewall/midauth.c 2010-02-10 23:02:52 +0000 +++ firewall/midauth.c 2010-02-12 17:00:10 +0000 @@ -12,13 +12,16 @@ * fragmentation for IPv6 and MUST support IP-level fragmentation for IPv4. * Currently we do neither. */ + +/* required by the libipq header */ +#define _BSD_SOURCE + #include <string.h> #ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ - #include "lib/core/ife.h" #include "midauth.h" #include "pisa.h" === modified file 'firewall/pisa.c' --- firewall/pisa.c 2010-02-10 23:02:52 +0000 +++ firewall/pisa.c 2010-02-12 17:00:10 +0000 @@ -9,6 +9,9 @@ * This code is GNU/GPL. */ +/* required by the libipq header for IFNAMSZ */ +#define _BSD_SOURCE + #include <string.h> #include <time.h> #include <stdio.h>