Bug 633857 - missing #includes for OpenBSD (gfx part) r=ludovic
authorLandry Breuil <landry@openbsd.org>
Thu, 14 Apr 2011 17:48:27 +0900
changeset 68099 85ced3bcb55d406c4e470e80bdfc51c826500680
parent 68098 ed9ed84a7117b62e52a77e0fd7914f1dd43e4ad1
child 68100 005a5f7ba52c1b4801cf1426f112de274245ef1a
push id19509
push userm_kato@ga2.so-net.ne.jp
push dateThu, 14 Apr 2011 08:50:49 +0000
treeherdermozilla-central@cfb795311a30 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersludovic
bugs633857
milestone6.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 633857 - missing #includes for OpenBSD (gfx part) r=ludovic
gfx/thebes/GLContext.h
gfx/thebes/gfxTextRunWordCache.cpp
--- a/gfx/thebes/GLContext.h
+++ b/gfx/thebes/GLContext.h
@@ -37,16 +37,19 @@
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
 #ifndef GLCONTEXT_H_
 #define GLCONTEXT_H_
 
 #include <stdio.h>
+#if defined(XP_UNIX)
+#include <stdint.h>
+#endif
 #include <string.h>
 #include <ctype.h>
 
 #ifdef WIN32
 #include <windows.h>
 #endif
 
 #include "GLDefs.h"
--- a/gfx/thebes/gfxTextRunWordCache.cpp
+++ b/gfx/thebes/gfxTextRunWordCache.cpp
@@ -44,16 +44,20 @@
 #include "nsServiceManagerUtils.h"
 #include "nsIPrefBranch.h"
 #include "nsIPrefBranch2.h"
 #include "nsIPrefService.h"
 #include "nsIObserver.h"
 
 #include "nsBidiUtils.h"
 
+#if defined(XP_UNIX)
+#include <stdint.h>
+#endif
+
 #ifdef DEBUG
 #include <stdio.h>
 #endif
 
 /**
  * Cache individual "words" (strings delimited by white-space or white-space-like
  * characters that don't involve kerning or ligatures) in textruns.
  *