From f8a6c963061eb9dcaa0bc0582e0e31cdfcec0d3c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 24 Feb 2015 09:00:37 +0000 Subject: [PATCH] * include/sys/socket.h (sockatmark): Add prototype. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/include/sys/socket.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 1129ea38f..746881500 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2015-02-24 Ken Brown + + * include/sys/socket.h (sockatmark): Add prototype. + 2015-02-23 Corinna Vinschen * userinfo.h (struct fetch_full_grp_t): Define only when building diff --git a/winsup/cygwin/include/sys/socket.h b/winsup/cygwin/include/sys/socket.h index 2d66abb26..179293f45 100644 --- a/winsup/cygwin/include/sys/socket.h +++ b/winsup/cygwin/include/sys/socket.h @@ -1,7 +1,7 @@ /* sys/socket.h Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2005, 2006, 2009, 2010, - 2013 Red Hat, Inc. + 2013, 2015 Red Hat, Inc. This file is part of Cygwin. @@ -43,6 +43,7 @@ extern "C" socklen_t *__optlen); int shutdown (int, int); int socket (int __family, int __type, int __protocol); + int sockatmark (int __fd); int socketpair (int __domain, int __type, int __protocol, int *__socket_vec); struct servent *getservbyname (const char *__name, const char *__proto);