Skip to content

Commit

Permalink
Fix build with GCC 4.7
Browse files Browse the repository at this point in the history
Submitted by:	Michael Moll via github (pull request freebsd#1)
  • Loading branch information
rene0 committed May 27, 2013
1 parent 301b921 commit 3df5566
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions www/chromium/files/extra-patch-gcc
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,26 @@
#include <string>

#include "base/gtest_prod_util.h"
--- third_party/libjingle/source/talk/base/network.h.orig 2013-05-26 21:44:12.257312749 +0200
+++ third_party/libjingle/source/talk/base/network.h 2013-05-26 21:45:08.869297313 +0200
@@ -38,6 +38,10 @@
#include "talk/base/messagehandler.h"
#include "talk/base/sigslot.h"

+#if defined(OS_FREEBSD)
+#include <sys/types.h>
+#endif
+
#if defined(POSIX)
struct ifaddrs;
#endif // defined(POSIX)
--- base/sys_info_freebsd.cc.orig 2013-05-17 22:44:42.000000000 +0200
+++ base/sys_info_freebsd.cc 2013-05-26 22:57:45.885322785 +0200
@@ -4,6 +4,7 @@

#include "base/sys_info.h"

+#include <sys/types.h>
#include <sys/sysctl.h>

#include "base/logging.h"

0 comments on commit 3df5566

Please sign in to comment.