summaryrefslogtreecommitdiffstats
path: root/third_party/libjingle
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-27 23:26:59 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-27 23:26:59 +0000
commite99836f6330b6518d2aa91a0be6ee656f7d6e3d1 (patch)
treed94a4ffd4edc9483a5a782f61fca1ff774d82327 /third_party/libjingle
parent8129fa5c5831b56fe73e15ebd6cf42fd3a7c935c (diff)
downloadchromium_src-e99836f6330b6518d2aa91a0be6ee656f7d6e3d1.zip
chromium_src-e99836f6330b6518d2aa91a0be6ee656f7d6e3d1.tar.gz
chromium_src-e99836f6330b6518d2aa91a0be6ee656f7d6e3d1.tar.bz2
linux: fix gcc 4.3 issues (for arm)
These are mostly minor syntax / missing header fixes. Review URL: http://codereview.chromium.org/338037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30277 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libjingle')
-rw-r--r--third_party/libjingle/files/talk/base/cryptstring.h1
-rw-r--r--third_party/libjingle/files/talk/base/host.cc1
-rw-r--r--third_party/libjingle/files/talk/base/natserver.cc1
-rw-r--r--third_party/libjingle/files/talk/base/natsocketfactory.cc1
-rw-r--r--third_party/libjingle/files/talk/base/socketadapters.cc2
-rw-r--r--third_party/libjingle/files/talk/base/stringencode.cc1
-rw-r--r--third_party/libjingle/files/talk/base/stringutils.h1
-rw-r--r--third_party/libjingle/files/talk/base/testclient.cc1
-rw-r--r--third_party/libjingle/files/talk/base/urlencode.cc2
-rw-r--r--third_party/libjingle/files/talk/p2p/base/port.cc1
-rw-r--r--third_party/libjingle/files/talk/p2p/base/relayport.cc1
-rw-r--r--third_party/libjingle/files/talk/p2p/base/stun.cc1
12 files changed, 14 insertions, 0 deletions
diff --git a/third_party/libjingle/files/talk/base/cryptstring.h b/third_party/libjingle/files/talk/base/cryptstring.h
index 64a7e57..119483f 100644
--- a/third_party/libjingle/files/talk/base/cryptstring.h
+++ b/third_party/libjingle/files/talk/base/cryptstring.h
@@ -28,6 +28,7 @@
#ifndef _TALK_BASE_CRYPTSTRING_H_
#define _TALK_BASE_CRYPTSTRING_H_
+#include <string.h>
#include <string>
#include "talk/base/linked_ptr.h"
#include "talk/base/scoped_ptr.h"
diff --git a/third_party/libjingle/files/talk/base/host.cc b/third_party/libjingle/files/talk/base/host.cc
index df5f7f7..e6fe648 100644
--- a/third_party/libjingle/files/talk/base/host.cc
+++ b/third_party/libjingle/files/talk/base/host.cc
@@ -28,6 +28,7 @@
#include <string>
#include <iostream>
#include <cassert>
+#include <cstdlib>
#include <errno.h>
#ifdef POSIX
diff --git a/third_party/libjingle/files/talk/base/natserver.cc b/third_party/libjingle/files/talk/base/natserver.cc
index 336cf64..66696a1 100644
--- a/third_party/libjingle/files/talk/base/natserver.cc
+++ b/third_party/libjingle/files/talk/base/natserver.cc
@@ -26,6 +26,7 @@
*/
#include <cassert>
+#include <cstring>
#include <iostream>
#ifdef POSIX
diff --git a/third_party/libjingle/files/talk/base/natsocketfactory.cc b/third_party/libjingle/files/talk/base/natsocketfactory.cc
index 2b0309e..59a0d87 100644
--- a/third_party/libjingle/files/talk/base/natsocketfactory.cc
+++ b/third_party/libjingle/files/talk/base/natsocketfactory.cc
@@ -27,6 +27,7 @@
#include <iostream>
#include <cassert>
+#include <cstring>
#include "talk/base/natsocketfactory.h"
namespace talk_base {
diff --git a/third_party/libjingle/files/talk/base/socketadapters.cc b/third_party/libjingle/files/talk/base/socketadapters.cc
index fcbc20b..0fe940ad 100644
--- a/third_party/libjingle/files/talk/base/socketadapters.cc
+++ b/third_party/libjingle/files/talk/base/socketadapters.cc
@@ -41,6 +41,8 @@
#include <security.h>
#endif
+#include <cstring>
+
#include "talk/base/basicdefs.h"
#include "talk/base/bytebuffer.h"
#include "talk/base/common.h"
diff --git a/third_party/libjingle/files/talk/base/stringencode.cc b/third_party/libjingle/files/talk/base/stringencode.cc
index ed6edfc..3c3dae8 100644
--- a/third_party/libjingle/files/talk/base/stringencode.cc
+++ b/third_party/libjingle/files/talk/base/stringencode.cc
@@ -32,6 +32,7 @@
#include <alloca.h>
#define _alloca alloca
#endif // POSIX
+#include <stdlib.h>
#include "talk/base/basictypes.h"
#include "talk/base/common.h"
diff --git a/third_party/libjingle/files/talk/base/stringutils.h b/third_party/libjingle/files/talk/base/stringutils.h
index 8aa9b69..2ad071a 100644
--- a/third_party/libjingle/files/talk/base/stringutils.h
+++ b/third_party/libjingle/files/talk/base/stringutils.h
@@ -31,6 +31,7 @@
#include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
+#include <string.h>
#ifdef WIN32
#include <wchar.h>
#endif // WIN32
diff --git a/third_party/libjingle/files/talk/base/testclient.cc b/third_party/libjingle/files/talk/base/testclient.cc
index ecb45fc..c963782 100644
--- a/third_party/libjingle/files/talk/base/testclient.cc
+++ b/third_party/libjingle/files/talk/base/testclient.cc
@@ -27,6 +27,7 @@
#include <iostream>
#include <cassert>
+#include <cstring>
#ifdef POSIX
extern "C" {
diff --git a/third_party/libjingle/files/talk/base/urlencode.cc b/third_party/libjingle/files/talk/base/urlencode.cc
index b654c35..d80fbe1 100644
--- a/third_party/libjingle/files/talk/base/urlencode.cc
+++ b/third_party/libjingle/files/talk/base/urlencode.cc
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+#include <string.h>
#include "talk/base/urlencode.h"
static int HexPairValue(const char * code) {
diff --git a/third_party/libjingle/files/talk/p2p/base/port.cc b/third_party/libjingle/files/talk/p2p/base/port.cc
index cc33d4c..2411e5f 100644
--- a/third_party/libjingle/files/talk/p2p/base/port.cc
+++ b/third_party/libjingle/files/talk/p2p/base/port.cc
@@ -32,6 +32,7 @@
#include <errno.h>
#include <algorithm>
+#include <cstring>
#include <iostream>
#include <vector>
diff --git a/third_party/libjingle/files/talk/p2p/base/relayport.cc b/third_party/libjingle/files/talk/p2p/base/relayport.cc
index a8a0527..c4b5066 100644
--- a/third_party/libjingle/files/talk/p2p/base/relayport.cc
+++ b/third_party/libjingle/files/talk/p2p/base/relayport.cc
@@ -34,6 +34,7 @@
#include "talk/p2p/base/relayport.h"
#include <iostream>
#include <cassert>
+#include <cstring>
#ifdef OSX
#include <errno.h>
#endif
diff --git a/third_party/libjingle/files/talk/p2p/base/stun.cc b/third_party/libjingle/files/talk/p2p/base/stun.cc
index c4a89e8..3d5ae66 100644
--- a/third_party/libjingle/files/talk/p2p/base/stun.cc
+++ b/third_party/libjingle/files/talk/p2p/base/stun.cc
@@ -29,6 +29,7 @@
#include "talk/p2p/base/stun.h"
#include <iostream>
#include <cassert>
+#include <cstring>
#if defined(_MSC_VER) && _MSC_VER < 1300
namespace std {