diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-04-04 20:20:16 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-04-04 22:06:16 -0700 |
commit | 42c4adeff4a6aedfba30e22f71800c1b73942923 (patch) | |
tree | dda5f83f84f9ca01aca0e9bcd7479af1687afb87 /src | |
parent | 4b502dd696cf7f59a961bcf71c9255ae28f0765a (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/xcb_conn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xcb_conn.c b/src/xcb_conn.c index a017c20..3ab5385 100644 --- a/src/xcb_conn.c +++ b/src/xcb_conn.c @@ -44,6 +44,7 @@ #ifdef _WIN32 #include "xcb_windefs.h" #else +#include <sys/socket.h> #include <netinet/in.h> #endif /* _WIN32 */ |