ports/net-im/libjingle/files/patch-talk__base__stringencode.cc
Mario Sergio Fujikawa Ferreira f1b7607c42 o Update to 0.4.0
o Fix BROKEN
2008-09-07 03:05:20 +00:00

22 lines
492 B
C++

--- talk/base/stringencode.cc.orig 2008-09-06 23:16:12.000000000 -0300
+++ talk/base/stringencode.cc 2008-09-06 23:25:50.000000000 -0300
@@ -25,11 +25,19 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+
#ifdef WIN32
#include <malloc.h>
#endif // WIN32
#ifdef POSIX
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
#include <alloca.h>
+#endif
#define _alloca alloca
#endif // POSIX