From: Philip Homburg Date: Mon, 17 Sep 2007 11:35:44 +0000 (+0000) Subject: Added PF_UNIX and PF_INET to make porting easier. X-Git-Tag: v3.1.4~321 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/dnssec-revoke.html?a=commitdiff_plain;h=b74b3315a3a626d53397ebc82f6a09c8e5f0e281;p=minix.git Added PF_UNIX and PF_INET to make porting easier. --- diff --git a/include/sys/socket.h b/include/sys/socket.h index 355160762..c51938e92 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -78,4 +78,10 @@ _PROTOTYPE( ssize_t sendto, (int _socket, const void *_message, _PROTOTYPE( int shutdown, (int _socket, int _how) ); _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 + #endif /* SYS_SOCKET_H */