Commit 8bc66c20 authored by Gerald Squelart's avatar Gerald Squelart
Browse files

Bug 1580664 - #include <sys/types.h> in jsctypes-test.h - r=froydnj

After removing <wchar.h> from TypeTraits.h in bug 1580458, there was a build
failure in jsctypes-test.h on some platforms, because of an undefined `off_t`,
which can be found in sys/types.h.

Differential Revision: https://phabricator.services.mozilla.com/D45618

--HG--
extra : moz-landing-system : lando
parent 98fb942a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@
#include "jspubtd.h"
#include "typedefs.h"

#include <sys/types.h>

#define EXPORT_CDECL(type) MOZ_EXPORT type
#if defined(_WIN32)
#  if defined(_WIN64)