IPv6 address family and protocol familyconstants

This commit is contained in:
Erik van der Kouwe
2010-01-22 10:45:43 +00:00
parent 4dfe5f49ba
commit a39cb73e58
2 changed files with 6 additions and 3 deletions

View File

@@ -82,7 +82,9 @@ _PROTOTYPE( int socket, (int _domain, int _type, int _protocol) );
/* The following constants are often used in applications, but are not defined
* by POSIX.
*/
#define PF_UNIX AF_UNIX
#define PF_INET AF_INET
#define PF_INET AF_INET
#define PF_INET6 AF_INET6
#define PF_UNIX AF_UNIX
#define PF_UNSPEC AF_UNSPEC
#endif /* SYS_SOCKET_H */