diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h index 4387797df..01005305b 100644 --- a/include/socket.h +++ b/include/socket.h @@ -37,11 +37,13 @@ typedef struct sockaddr_in6 insp_sockaddr; typedef struct in6_addr insp_inaddr; +#define AF_FAMILY AF_INET6 #else typedef struct sockaddr_in insp_sockaddr; typedef struct in_addr insp_inaddr; +#define AF_FAMILY AF_INET #endif |