diff options
author | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2009-06-23 11:35:38 +0000 |
---|---|---|
committer | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2009-06-23 11:35:38 +0000 |
commit | 7c52c3f35cdbdff58443b994f2f33d13b4d81f57 (patch) | |
tree | e54a27979ea72ec41702bec2984c2eadac3b8862 /src/starter/interfaces.h | |
parent | 4ef45ba0404dac3773e83af995a5ec584b23d633 (diff) | |
download | vyos-strongswan-7c52c3f35cdbdff58443b994f2f33d13b4d81f57.tar.gz vyos-strongswan-7c52c3f35cdbdff58443b994f2f33d13b4d81f57.zip |
Updated to new upstream version.
Diffstat (limited to 'src/starter/interfaces.h')
-rw-r--r-- | src/starter/interfaces.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/starter/interfaces.h b/src/starter/interfaces.h index 299113669..abe4c8f9c 100644 --- a/src/starter/interfaces.h +++ b/src/starter/interfaces.h @@ -10,22 +10,22 @@ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. - * - * RCSID $Id: interfaces.h 3267 2007-10-08 19:57:54Z andreas $ */ #ifndef _STARTER_INTERFACES_H_ #define _STARTER_INTERFACES_H_ -#include <linux/if.h> +#include <sys/types.h> +#include <sys/socket.h> +#include <net/if.h> #include "../pluto/constants.h" typedef struct { - bool defined; - char iface[IFNAMSIZ]; - ip_address addr; - ip_address nexthop; + bool defined; + char iface[IFNAMSIZ]; + ip_address addr; + ip_address nexthop; } defaultroute_t; extern void get_defaultroute(defaultroute_t *defaultroute); |