# HG changeset patch
# User t_mrc-ct@users.sourceforge.jp
# Date 1435665011 -32400
#      Tue Jun 30 20:50:11 2015 +0900
# Branch THUNDERBIRD3880_2016050308_RELBRANCH
# Node ID 73fb3eb9a6cf6a6207511a73c029da004361154a
# Parent  74b46f1348f10d94bcb38702cfb78cff3c0fc7f3
xpcshell-tests support patch

diff --git a/dom/plugins/test/moz.build b/dom/plugins/test/moz.build
--- a/dom/plugins/test/moz.build
+++ b/dom/plugins/test/moz.build
@@ -1,14 +1,14 @@
 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-DIRS += ['testplugin', 'testaddon']
+#DIRS += ['testplugin', 'testaddon']
 
 XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
 
 if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3', 'cocoa', 'windows'):
     MOCHITEST_MANIFESTS += ['mochitest/mochitest.ini']
     MOCHITEST_CHROME_MANIFESTS += ['mochitest/chrome.ini']
 
diff --git a/media/webrtc/signaling/test/moz.build b/media/webrtc/signaling/test/moz.build
--- a/media/webrtc/signaling/test/moz.build
+++ b/media/webrtc/signaling/test/moz.build
@@ -68,21 +68,21 @@
     ]
     OS_LIBS += [
         '-framework AudioToolbox',
         '-framework AudioUnit',
         '-framework Carbon',
         '-framework CoreAudio',
         '-framework OpenGL',
         '-framework QTKit',
+        '-framework QuickTime',
         '-framework QuartzCore',
         '-framework Security',
         '-framework SystemConfiguration',
         '-framework IOKit',
-        '-F%s' % CONFIG['MACOS_PRIVATE_FRAMEWORKS_DIR'],
     ]
 
 if CONFIG['OS_TARGET'] in ('DragonFly', 'FreeBSD', 'NetBSD', 'OpenBSD'):
     LOCAL_INCLUDES += [
         '/media/mtransport/third_party/nrappkit/src/port/darwin/include',
         '/media/mtransport/third_party/nrappkit/src/port/generic/include',
     ]
 
diff --git a/toolkit/components/ctypes/tests/jsctypes-test.h b/toolkit/components/ctypes/tests/jsctypes-test.h
--- a/toolkit/components/ctypes/tests/jsctypes-test.h
+++ b/toolkit/components/ctypes/tests/jsctypes-test.h
@@ -1,16 +1,18 @@
 /* -*-  Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #ifndef jsctypes_test_h
 #define jsctypes_test_h
 
+#include <sys/types.h>
+
 #include "mozilla/Attributes.h"
 #include "mozilla/Types.h"
 #include "jspubtd.h"
 #include "typedefs.h"
 
 #define EXPORT_CDECL(type)   MOZ_EXPORT type
 #if defined(_WIN32)
 #if defined(_WIN64)
