You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2017/07/14 18:57:58 UTC

qpid-proton git commit: NO-JIRA: Fix header file includes to compile under FreeBSD

Repository: qpid-proton
Updated Branches:
  refs/heads/master e1c3cd031 -> 10df4133e


NO-JIRA: Fix header file includes to compile under FreeBSD


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/10df4133
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/10df4133
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/10df4133

Branch: refs/heads/master
Commit: 10df4133e8877ee535e24b494738356369dcd24c
Parents: e1c3cd0
Author: Andrew Stitcher <as...@apache.org>
Authored: Fri Jul 14 14:56:35 2017 -0400
Committer: Andrew Stitcher <as...@apache.org>
Committed: Fri Jul 14 14:56:35 2017 -0400

----------------------------------------------------------------------
 proton-c/src/tests/proactor.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/10df4133/proton-c/src/tests/proactor.c
----------------------------------------------------------------------
diff --git a/proton-c/src/tests/proactor.c b/proton-c/src/tests/proactor.c
index 9cb0e63..49d753a 100644
--- a/proton-c/src/tests/proactor.c
+++ b/proton-c/src/tests/proactor.c
@@ -62,10 +62,11 @@ static int pnitst_snprintf(char *buf, size_t count, const char *fmt, ...) {
 }
 
 #else  /* POSIX */
-
-typedef int sock_t;
+# include <sys/types.h>
+# include <sys/socket.h>
 # include <netinet/in.h>
 # include <unistd.h>
+typedef int sock_t;
 void sock_close(sock_t sock) { close(sock); }
 #endif
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org