Bug 1560432 - Remove unused NSPR header from vm/Time.cpp. r=sfink
authorJan de Mooij <jdemooij@mozilla.com>
Wed, 26 Jun 2019 15:22:27 +0000
changeset 543002 e996920037965b669fe3fd6306d6f8bee0ebc8bf
parent 543001 ab93b6bc57590d7f965c1ec72981419171a840c8
child 543003 f3699ddf457117a8e42045c1f8a7e6af09cc3ea9
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfink
bugs1560432
milestone69.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 1560432 - Remove unused NSPR header from vm/Time.cpp. r=sfink Gary noticed we can't build without NSPR on Windows due to this unused #include inside #ifdef XP_WIN. This patch fixes the build. Differential Revision: https://phabricator.services.mozilla.com/D35494
js/src/vm/Time.cpp
--- a/js/src/vm/Time.cpp
+++ b/js/src/vm/Time.cpp
@@ -21,19 +21,16 @@
 #include "jsutil.h"
 
 #ifdef XP_WIN
 #  include <windef.h>
 #  include <winbase.h>
 #  include <crtdbg.h>   /* for _CrtSetReportMode */
 #  include <mmsystem.h> /* for timeBegin/EndPeriod */
 #  include <stdlib.h>   /* for _set_invalid_parameter_handler */
-
-#  include "prinit.h"
-
 #endif
 
 #ifdef XP_UNIX
 
 #  ifdef _SVID_GETTOD /* Defined only on Solaris, see Solaris <sys/types.h> */
 extern int gettimeofday(struct timeval* tv);
 #  endif