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