Bug 759459 - Build broken on FreeBSD since patch for bug 745034 landed. r=terrence
authorMarco Perez <bugmail@millibyte.net>
Sat, 09 Jun 2012 12:24:56 -0400
changeset 101065 c88602e44a5bb7a214c1b4a089c7044b701ce14e
parent 101064 12ec56310403d6609687df6299b424c67f4ddbb9
child 101066 62c03a248faaa3600cd601d43a5c8d52a7c91384
push id1316
push userakeybl@mozilla.com
push dateMon, 27 Aug 2012 22:37:00 +0000
treeherdermozilla-beta@db4b09302ee2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersterrence
bugs759459, 745034
milestone16.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 759459 - Build broken on FreeBSD since patch for bug 745034 landed. r=terrence
js/src/gc/Memory.cpp
--- a/js/src/gc/Memory.cpp
+++ b/js/src/gc/Memory.cpp
@@ -287,19 +287,19 @@ size_t
 GetPageFaultCount()
 {
     return 0;
 }
 
 #elif defined(XP_UNIX) || defined(XP_MACOSX) || defined(DARWIN)
 
 #include <sys/mman.h>
-#include <unistd.h>
 #include <sys/time.h>
 #include <sys/resource.h>
+#include <unistd.h>
 
 void
 InitMemorySubsystem()
 {
     JS_OPT_ASSERT(size_t(sysconf(_SC_PAGESIZE)) == PageSize);
 }
 
 void *