small patch for compilation with gcc45
Andriy Gapon
avg at freebsd.org
Fri Apr 1 21:19:32 UTC 2011
Thanks a lot for your work on chromium!
chromium-10.0.648.204 looks and works great here on recent amd64 CURRENT system.
I compiled chromium with gcc45 and I had to apply only the attached tiny change
to fix the compilation. It must be that on Linux FILE definition becomes
visible though some other header file without explicit stdio.h inclusion.
--
Andriy Gapon
-------------- next part --------------
--- base/shared_memory.h.orig 2011-04-01 21:54:26.066717848 +0300
+++ base/shared_memory.h 2011-04-01 21:55:14.292717813 +0300
@@ -10,6 +10,7 @@
#if defined(OS_POSIX)
#include <sys/types.h>
+#include <stdio.h>
#include <semaphore.h>
#include "base/file_descriptor_posix.h"
#endif
--- third_party/libjingle/source/talk/base/stream.h.orig 2011-04-01 22:16:30.129717654 +0300
+++ third_party/libjingle/source/talk/base/stream.h 2011-04-01 22:16:48.245715495 +0300
@@ -28,6 +28,7 @@
#ifndef TALK_BASE_STREAM_H__
#define TALK_BASE_STREAM_H__
+#include <stdio.h>
#include "talk/base/basictypes.h"
#include "talk/base/criticalsection.h"
#include "talk/base/logging.h"
--- base/debug/trace_event.h.orig 2011-04-01 22:22:50.326752296 +0300
+++ base/debug/trace_event.h 2011-04-01 22:23:12.004715315 +0300
@@ -29,6 +29,7 @@
#include "base/debug/trace_event_win.h"
#else // defined(OS_WIN)
+#include <stdio.h>
#include <string>
#include "base/scoped_ptr.h"
More information about the freebsd-chromium
mailing list