]> code.delx.au - pulseaudio/commit
Use <pulsecore/socket.h> instead of <sys/socket.h>
authorMaarten Bosmans <mkbosmans@gmail.com>
Tue, 4 Jan 2011 16:03:13 +0000 (17:03 +0100)
committerMaarten Bosmans <mkbosmans@gmail.com>
Thu, 17 Feb 2011 10:58:21 +0000 (11:58 +0100)
commit4f1d4044f8409ff29eeb7f97324daba496e40714
tree2a839bd94d128175e99a91e3a15b7cb6a18de298
parentd6d9fb295d03a411974a148e469465e0f7c59891
Use <pulsecore/socket.h> instead of <sys/socket.h>

The check whether POSIX socket.h or WIN32 winsock2.h must be included can be
made centrally.  The downside is that some functionality of e.g. arpa/inet.h is
also implemented in winsock.h, so that some files that don't use socket
functions, but do use inet.h functions, must also include pulsecore/socket.h.
(as well as arpa/inet.h)
30 files changed:
src/Makefile.am
src/daemon/main.c
src/modules/module-esound-sink.c
src/modules/module-protocol-stub.c
src/pulse/context.c
src/pulse/mainloop.c
src/pulse/timeval.c
src/pulse/util.c
src/pulsecore/core-util.c
src/pulsecore/core-util.h
src/pulsecore/creds.h
src/pulsecore/inet_ntop.c
src/pulsecore/inet_ntop.h
src/pulsecore/inet_pton.c
src/pulsecore/inet_pton.h
src/pulsecore/iochannel.c
src/pulsecore/ioline.c
src/pulsecore/ipacl.c
src/pulsecore/parseaddr.c
src/pulsecore/pipe.c
src/pulsecore/poll.c
src/pulsecore/pstream.c
src/pulsecore/rtpoll.c
src/pulsecore/socket-client.c
src/pulsecore/socket-server.c
src/pulsecore/socket-util.c
src/pulsecore/socket-util.h
src/pulsecore/socket.h [moved from src/pulsecore/winsock.h with 77% similarity]
src/pulsecore/tagstruct.c
src/tests/ipacl-test.c