summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
Diffstat (limited to 'nt')
-rw-r--r--nt/inc/sys/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nt/inc/sys/socket.h b/nt/inc/sys/socket.h
index a8f00f83502..53326172fbd 100644
--- a/nt/inc/sys/socket.h
+++ b/nt/inc/sys/socket.h
@@ -60,6 +60,7 @@
#define gethostname sys_gethostname
#define gethostbyname sys_gethostbyname
#define getservbyname sys_getservbyname
+#define shutdown sys_shutdown
int sys_socket(int af, int type, int protocol);
int sys_bind (int s, const struct sockaddr *addr, int namelen);
@@ -70,6 +71,7 @@ unsigned long sys_inet_addr (const char * cp);
int sys_gethostname (char * name, int namelen);
struct hostent * sys_gethostbyname(const char * name);
struct servent * sys_getservbyname(const char * name, const char * proto);
+int sys_shutdown (int socket, int how);
/* we are providing a real h_errno variable */
#undef h_errno