projects
/
free-sw
/
xcb
/
libxcb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b502dd
)
Add #include <sys/socket.h> to xcb_conn.c
author
Alan Coopersmith
<alan.coopersmith@oracle.com>
Tue, 5 Apr 2011 03:20:16 +0000
(20:20 -0700)
committer
Alan Coopersmith
<alan.coopersmith@oracle.com>
Tue, 5 Apr 2011 05:06:16 +0000
(22:06 -0700)
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
patch
|
blob
|
history
diff --git
a/src/xcb_conn.c
b/src/xcb_conn.c
index
a017c20
..
3ab5385
100644
(file)
--- 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 */