Add #include <sys/socket.h> to xcb_conn.c
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Tue, 5 Apr 2011 03:20:16 +0000 (20:20 -0700)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Tue, 5 Apr 2011 05:06:16 +0000 (22:06 -0700)
commit42c4adeff4a6aedfba30e22f71800c1b73942923
treedda5f83f84f9ca01aca0e9bcd7479af1687afb87
parent4b502dd696cf7f59a961bcf71c9255ae28f0765a
Add #include <sys/socket.h> to xcb_conn.c

Solves compiler warning on Solaris:
"xcb_conn.c", line 304: warning: implicit function declaration: shutdown

Also provides system definition of SHUT_RDWR on Solaris 11.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
src/xcb_conn.c