d38264
diff -up nss/coreconf/location.mk.iquote nss/coreconf/location.mk
d38264
--- nss/coreconf/location.mk.iquote	2017-07-27 16:09:32.000000000 +0200
d38264
+++ nss/coreconf/location.mk	2017-08-30 15:17:56.553361830 +0200
d38264
@@ -75,4 +75,9 @@ ifndef SQLITE_LIB_NAME
d38264
     SQLITE_LIB_NAME = sqlite3
d38264
 endif
d38264
 
d38264
+# Prefer in-tree headers over system headers
d38264
+ifdef IN_TREE_FREEBL_HEADERS_FIRST
d38264
+    INCLUDES += -iquote $(DIST)/../public/nss -iquote $(DIST)/../private/nss
d38264
+endif
d38264
+
d38264
 MK_LOCATION = included