newlib-cygwin/winsup/cygwin/include
Corinna Vinschen db80f635c1 In terms of network related functionality, rely on Winsock definitions
as much as possible:
	* dtable.cc: Drop including sys/socket.h.
	* fhandler_procnet.cc: Change includes accordingly.
	* fhandler_socket.cc: Ditto.
	(fhandler_socket::listen): Avoid gcc error message initializing sin6.
	(LPFN_WSARECVMSG): Only define when building against w32api headers.
	* net.cc: Change includes accordingly.  Define USE_SYS_TYPES_FD_SET
	and __WSA_ERR_MACROS_DEFINED.  Define _INC_NETIOAPI temporarily and
	explain why.
	(struct _IP_ADAPTER_UNICAST_ADDRESS_LH): Only define when building
	against w32api headers.
	(struct _IP_ADAPTER_ADDRESSES_LH): Ditto.
	(SIO_GET_INTERFACE_LIST): Ditto.
	(ws_freeaddrinfo): Rename from freeaddrinfo so as not to collide with
	Winsock declaration.  Change througout.
	(ws_getaddrinfo): Ditto.
	(ws_getnameinfo): Ditto.
	* select.cc: Include netdb.h after defining USE_SYS_TYPES_FD_SET.
	* syslog.cc: Drop including netinet/in.h.  Define USE_SYS_TYPES_FD_SET
	and include ws2tcpip.h.
	* include/netdb.h (struct addrinfo): Don't define when building Cygwin.
	* include/cygwin/if.h: Don't declare if_xxx functions when building
	Cygwin.
	* include/cygwin/in.h: Disable most definitions when building Cygwin.
	* include/cygwin/socket.h: Disable sockaddr and sockaddr_storage
	definitions when building Cygwin.  Same for MCAST_INCLUDE/MCAST_EXCLUDE.
	* libc/inet_addr.c: Don't define __INSIDE_CYGWIN__ nor
	__INSIDE_CYGWIN_NET__.
	* libc/inet_network.c: Ditto.
	* libc/minires.h: Drop redundant inclusion of netdb.h.  Define
	__INSIDE_CYGWIN_NET__ only before including netdb.h and resolver
	headers.
2012-07-06 13:52:19 +00:00
..
arpa Clean up whitespace. 2011-12-17 23:39:47 +00:00
asm * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
attr
bits * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
cygwin In terms of network related functionality, rely on Winsock definitions 2012-07-06 13:52:19 +00:00
machine * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
net
netinet * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
sys * include/sys/elf_common.h (R_386_16): Define. 2012-06-10 18:28:16 +00:00
a.out.h
byteswap.h
dlfcn.h * autoload.cc (GetModuleHandleExW): Define. 2011-08-16 14:44:26 +00:00
elf.h * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
endian.h * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
err.h * include/err.h: Fix loss of semicolons in previous patch. 2011-02-02 15:14:46 +00:00
error.h * cygwin.din (error): Export. 2011-05-18 01:25:41 +00:00
exceptions.h
fcntl.h
features.h * include/features.h (__STDC_ISO_10646__): Move to newlib's 2011-01-27 11:55:51 +00:00
fenv.h Clean up whitespace. 2011-12-17 23:39:47 +00:00
fnmatch.h
fts.h
ftw.h
getopt.h
glob.h
icmp.h
ifaddrs.h
inttypes.h
io.h
lastlog.h
libgen.h
limits.h * sysconf.cc (sca): Return -1 for _SC_THREAD_ROBUST_PRIO_INHERIT, 2011-07-18 23:08:09 +00:00
mapi.h
memory.h
mntent.h * include/paths.h (_PATH_MNTTAB): Define. 2010-02-02 11:17:54 +00:00
monetary.h
mqueue.h
netdb.h In terms of network related functionality, rely on Winsock definitions 2012-07-06 13:52:19 +00:00
paths.h * include/paths.h (_PATH_MAILDIR): Define. 2011-08-21 03:22:30 +00:00
poll.h
process.h * include/process.h: Move here from include/cygwin subdir. 2012-02-07 17:15:07 +00:00
pthread.h * include/pthread.h: Include time.h as required by POSIX. 2012-02-13 01:46:46 +00:00
pty.h
regex.h
resolv.h Clean up whitespace. 2011-12-17 23:39:47 +00:00
search.h
semaphore.h
stdint.h
sysexits.h
syslog.h
termio.h
tzfile.h
utmpx.h
wait.h