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