diff --git a/xpcom/build/dlldeps.cpp b/xpcom/build/dlldeps.cpp index 194f9277e72f..f6b0390ce38c 100644 --- a/xpcom/build/dlldeps.cpp +++ b/xpcom/build/dlldeps.cpp @@ -88,6 +88,7 @@ #include "pldhash.h" #include "nsVariant.h" #include "nsEscape.h" +#include "nsStreamUtils.h" void XXXNeverCalled() { @@ -108,7 +109,7 @@ void XXXNeverCalled() NS_NewPipe2(nsnull, nsnull, PR_FALSE, PR_FALSE, 0, 0, nsnull); NS_NewInputStreamReadyEvent(nsnull, nsnull, nsnull); NS_NewOutputStreamReadyEvent(nsnull, nsnull, nsnull); - NS_AsyncCopy(nsnull, nsnull, nsnull, 0, 0, nsnull, nsnull); + NS_AsyncCopy(nsnull, nsnull, nsnull, NS_ASYNCCOPY_VIA_READSEGMENTS, 0, nsnull, nsnull); PL_DHashStubEnumRemove(nsnull, nsnull, nsnull, nsnull); nsIDHashKey::HashKey(nsnull); nsFixedSizeAllocator a;