diff options
Diffstat (limited to 'openvpn/src/openvpn/syshead.h')
-rw-r--r-- | openvpn/src/openvpn/syshead.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/openvpn/src/openvpn/syshead.h b/openvpn/src/openvpn/syshead.h index ab6fa01f..4050d548 100644 --- a/openvpn/src/openvpn/syshead.h +++ b/openvpn/src/openvpn/syshead.h @@ -426,6 +426,13 @@ #endif /* + * Define type sa_family_t if it isn't defined in the socket headers + */ +#ifndef HAVE_SA_FAMILY_T +typedef unsigned short sa_family_t; +#endif + +/* * Disable ESEC */ #if 0 |