diff --git a/mozilla/content/html/document/src/nsHTMLDocument.cpp b/mozilla/content/html/document/src/nsHTMLDocument.cpp
index ec3d6031588..d941f92baf8 100644
--- a/mozilla/content/html/document/src/nsHTMLDocument.cpp
+++ b/mozilla/content/html/document/src/nsHTMLDocument.cpp
@@ -119,12 +119,6 @@ static PRBool gInitDetector = PR_FALSE;
static PRBool gPlugDetector = PR_FALSE;
//static PRBool gBookmarkCharset = PR_TRUE;
-#ifdef PCB_USE_PROTOCOL_CONNECTION
-// beard: how else would we get the referrer to a URL?
-#include "nsIProtocolConnection.h"
-#include "net.h"
-#endif
-
#include "prmem.h"
#include "prtime.h"