Bug 1211306 (follow-up) - Fix non-Windows compile bustage on a CLOSED TREE. r=bustage.
authorNicholas Nethercote <nnethercote@mozilla.com>
Mon, 05 Oct 2015 15:44:19 -0700
changeset 266191 c87ce743e34eb2bcd586b30d2cdc935882186ed2
parent 266190 fbcc1bb170e9b8d108ee02b30643b48e76f49db1
child 266192 aaf908d9dcb6655f8a82135dede2e5b17a8668bb
push id29483
push usercbook@mozilla.com
push dateTue, 06 Oct 2015 10:01:59 +0000
treeherdermozilla-central@89732fcdb0ba [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1211306
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1211306 (follow-up) - Fix non-Windows compile bustage on a CLOSED TREE. r=bustage.
netwerk/test/TestUDPSocket.cpp
--- a/netwerk/test/TestUDPSocket.cpp
+++ b/netwerk/test/TestUDPSocket.cpp
@@ -8,17 +8,19 @@
 #include "nsISocketTransportService.h"
 #include "nsISocketTransport.h"
 #include "nsIOutputStream.h"
 #include "nsIInputStream.h"
 #include "nsINetAddr.h"
 #include "nsIScriptSecurityManager.h"
 #include "nsITimer.h"
 #include "mozilla/net/DNS.h"
+#ifdef XP_WIN
 #include "mozilla/WindowsVersion.h"
+#endif
 #include "prerror.h"
 
 #define REQUEST  0x68656c6f
 #define RESPONSE 0x6f6c6568
 #define MULTICAST_TIMEOUT 2000
 
 #define EXPECT_SUCCESS(rv, ...) \
   PR_BEGIN_MACRO \