diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/openvpn/syshead.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h index ab6fa01..4050d54 100644 --- a/src/openvpn/syshead.h +++ b/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 |