add shutdown constants

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6699 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-08-04 06:34:59 +00:00
parent ce4e548b12
commit 48a8b1f5fc

View File

@@ -186,6 +186,22 @@ struct addrinfo {
#define INET6_ADDRSTRLEN 46 #define INET6_ADDRSTRLEN 46
#endif #endif
/*
* for shutdown(2)
*/
#ifndef SHUT_RD
#define SHUT_RD 0
#endif
#ifndef SHUT_WR
#define SHUT_WR 1
#endif
#ifndef SHUT_RDWR
#define SHUT_RDWR 2
#endif
#ifndef HAVE___ATTRIBUTE__ #ifndef HAVE___ATTRIBUTE__
#define __attribute__(x) #define __attribute__(x)
#endif #endif