f57139
diff -up nss/cmd/bltest/Makefile.iquote nss/cmd/bltest/Makefile
f57139
--- nss/cmd/bltest/Makefile.iquote	2013-06-27 10:58:08.000000000 -0700
f57139
+++ nss/cmd/bltest/Makefile	2013-07-02 15:02:26.656643246 -0700
f57139
@@ -45,6 +45,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk
f57139
 # (6) Execute "component" rules. (OPTIONAL)                           #
f57139
 #######################################################################
f57139
 
f57139
+INCLUDES += -iquote $(DIST)/../private/nss
f57139
 
f57139
 
f57139
 #######################################################################
f57139
diff -up nss/cmd/lib/Makefile.iquote nss/cmd/lib/Makefile
f57139
--- nss/cmd/lib/Makefile.iquote	2013-07-02 15:07:47.260622471 -0700
f57139
+++ nss/cmd/lib/Makefile	2013-07-02 15:08:47.219179157 -0700
f57139
@@ -38,7 +38,8 @@ include $(CORE_DEPTH)/coreconf/rules.mk
f57139
 # (6) Execute "component" rules. (OPTIONAL)                           #
f57139
 #######################################################################
f57139
 
f57139
-
f57139
+INCLUDES += -iquote $(DIST)/../private/nss
f57139
+INCLUDES += -iquote $(DIST)/../public/nss
f57139
 
f57139
 #######################################################################
f57139
 # (7) Execute "local" rules. (OPTIONAL).                              #
f57139
diff -up nss/coreconf/location.mk.iquote nss/coreconf/location.mk
f57139
--- nss/coreconf/location.mk.iquote	2013-06-27 10:58:08.000000000 -0700
f57139
+++ nss/coreconf/location.mk	2013-07-02 15:02:26.656643246 -0700
f57139
@@ -45,6 +45,10 @@ endif
f57139
 
f57139
 ifdef NSS_INCLUDE_DIR
f57139
     INCLUDES += -I$(NSS_INCLUDE_DIR)
f57139
+    ifdef IN_TREE_FREEBL_HEADERS_FIRST
f57139
+        INCLUDES += -iquote $(DIST)/../public/nss
f57139
+        INCLUDES += -iquote $(DIST)/../private/nss
f57139
+    endif
f57139
 endif
f57139
 
f57139
 ifndef NSS_LIB_DIR
f57139
diff -up nss/lib/certhigh/Makefile.iquote nss/lib/certhigh/Makefile
f57139
--- nss/lib/certhigh/Makefile.iquote	2013-09-27 11:13:55.158689314 -0700
f57139
+++ nss/lib/certhigh/Makefile	2013-09-27 11:14:38.181042336 -0700
f57139
@@ -38,7 +38,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk
f57139
 # (6) Execute "component" rules. (OPTIONAL)                           #
f57139
 #######################################################################
f57139
 
f57139
-
f57139
+INCLUDES += -iquote $(DIST)/../public/nss
f57139
 
f57139
 #######################################################################
f57139
 # (7) Execute "local" rules. (OPTIONAL).                              #
f57139
diff -up nss/lib/cryptohi/Makefile.iquote nss/lib/cryptohi/Makefile
f57139
--- nss/lib/cryptohi/Makefile.iquote	2013-09-27 11:11:30.117494489 -0700
f57139
+++ nss/lib/cryptohi/Makefile	2013-09-27 11:12:54.704194915 -0700
f57139
@@ -38,7 +38,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk
f57139
 # (6) Execute "component" rules. (OPTIONAL)                           #
f57139
 #######################################################################
f57139
 
f57139
-
f57139
+INCLUDES += -iquote $(DIST)/../public/nss
f57139
 
f57139
 #######################################################################
f57139
 # (7) Execute "local" rules. (OPTIONAL).                              #