Bug 1249849: Ensure that we can always reach malloc_decl.h even when MOZ_REPLACE_ALLOC is not defined; r=glandium, a=lizzard
authorAaron Klotz <aklotz@mozilla.com>
Tue, 29 Mar 2016 13:59:14 -0600
changeset 351474 b7488a21db02bf622a430884c0937e215a33b3a2
parent 351473 26411f370dad912d93f8d145b3ec832aff38af21
child 351475 91c342287837245f07765f1dd5d7187fc26022e7
push id15502
push userahunt@mozilla.com
push dateThu, 14 Apr 2016 20:27:48 +0000
reviewersglandium, lizzard
bugs1249849
milestone47.0a2
Bug 1249849: Ensure that we can always reach malloc_decl.h even when MOZ_REPLACE_ALLOC is not defined; r=glandium, a=lizzard MozReview-Commit-ID: 5ok6K0cLJrt
mozglue/build/moz.build
--- a/mozglue/build/moz.build
+++ b/mozglue/build/moz.build
@@ -39,16 +39,19 @@ if not CONFIG['JS_STANDALONE']:
     else:
         # Temporary, until bug 662814 lands
         NO_VISIBILITY_FLAGS = True
         SOURCES += [
             'dummy.cpp',
         ]
 
     if CONFIG['OS_TARGET'] == 'WINNT':
+        LOCAL_INCLUDES += [
+            '/memory/build',
+        ]
         SOURCES += [
             'WindowsDllBlocklist.cpp',
         ]
         DISABLE_STL_WRAPPING = True
         OS_LIBS += [
             'version',
         ]