391c46
diff -up nss/coreconf/location.mk.iquote nss/coreconf/location.mk
391c46
--- nss/coreconf/location.mk.iquote	2017-07-27 16:09:32.000000000 +0200
391c46
+++ nss/coreconf/location.mk	2017-09-06 13:23:14.633611555 +0200
391c46
@@ -75,4 +75,9 @@ ifndef SQLITE_LIB_NAME
391c46
     SQLITE_LIB_NAME = sqlite3
391c46
 endif
391c46
 
391c46
+# Prefer in-tree headers over system headers
391c46
+ifdef IN_TREE_FREEBL_HEADERS_FIRST
391c46
+    INCLUDES += -iquote $(DIST)/../public/nss -iquote $(DIST)/../private/nss
391c46
+endif
391c46
+
391c46
 MK_LOCATION = included