[asterisk-scf-commits] asterisk-scf/integration/pjproject.git branch "fix-osx" created.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Mon Oct 24 14:45:51 CDT 2011
branch "fix-osx" has been created
at 919b671e48c18a39fb132d916d5f1f3a95171c02 (commit)
- Log -----------------------------------------------------------------
commit 919b671e48c18a39fb132d916d5f1f3a95171c02
Author: David M. Lee <dlee at digium.com>
Date: Mon Oct 24 14:43:30 2011 -0500
Fix for OS X
Asterisk SCF doesn't actually _work_ on OS X, but it can be useful to
build on OS X.
diff --git a/pjlib/include/pj/compat/os_darwinos.h b/pjlib/include/pj/compat/os_darwinos.h
index 4afbe02..ea926fc 100644
--- a/pjlib/include/pj/compat/os_darwinos.h
+++ b/pjlib/include/pj/compat/os_darwinos.h
@@ -20,6 +20,8 @@
#ifndef __PJ_COMPAT_OS_DARWINOS_H__
#define __PJ_COMPAT_OS_DARWINOS_H__
+#include <sys/socket.h>
+
/**
* @file os_darwinos.h
* @brief Describes Darwin/MacOSX operating system specifics.
@@ -92,11 +94,6 @@
#define PJ_ATOMIC_VALUE_TYPE long
-/*
- * Socket related
- */
-typedef int socklen_t;
-
/* Set 1 if native sockaddr_in has sin_len member.
* Default: 0
*/
-----------------------------------------------------------------------
--
asterisk-scf/integration/pjproject.git
More information about the asterisk-scf-commits
mailing list