Author: astitcher
Date: Mon Nov 5 20:38:51 2012
New Revision: 1405944
URL: http://svn.apache.org/viewvc?rev=1405944&view=rev
Log:
Add necessary include file to get definition of struct sockaddr
- It seems that the Linux headers pull this in as a side effect
Modified:
qpid/proton/trunk/proton-c/src/driver.c
Modified: qpid/proton/trunk/proton-c/src/driver.c
URL:
http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/src/driver.c?rev=1405944&r1=1405943&r2=1405944&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/src/driver.c (original)
+++ qpid/proton/trunk/proton-c/src/driver.c Mon Nov 5 20:38:51 2012
@@ -26,6 +26,7 @@
#include <ctype.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>
#include <fcntl.h>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]