Introduce __sa_family_t for BSD compatibiliy

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
Sebastian Huber
2016-04-18 15:29:23 +02:00
committed by Corinna Vinschen
parent cb376b255d
commit e03a7056a6
3 changed files with 8 additions and 1 deletions

View File

@ -24,7 +24,7 @@ typedef __socklen_t socklen_t;
#define socklen_t socklen_t
#endif
typedef uint16_t sa_family_t;
typedef __sa_family_t sa_family_t;
#ifndef __INSIDE_CYGWIN_NET__
struct sockaddr {