diff options
Diffstat (limited to 'winsup/cygwin/include/netinet')
-rw-r--r-- | winsup/cygwin/include/netinet/in.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/winsup/cygwin/include/netinet/in.h b/winsup/cygwin/include/netinet/in.h index 7081282a7..027ac2cd1 100644 --- a/winsup/cygwin/include/netinet/in.h +++ b/winsup/cygwin/include/netinet/in.h @@ -1,6 +1,6 @@ /* netinet/in.h - Copyright 1998, 2001 Red Hat, Inc. + Copyright 1998, 2001, 2006 Red Hat, Inc. This file is part of Cygwin. @@ -13,4 +13,16 @@ details. */ #include <cygwin/in.h> +#ifdef __cplusplus +extern "C" +{ +#endif + +extern int bindresvport (int, struct sockaddr_in *); +extern int bindresvport_sa (int, struct sockaddr *); + +#ifdef __cplusplus +}; +#endif + #endif /* _NETINET_IN_H */ |