freebsd-ports/www/firefox/files/patch-js-src-jsnativestack.cpp
Beat Gaetzi d8add7cac4 - Update to 4.0
- Add PGO option to enable Profile-Guided Optimization [1].

PR:		ports/132231 [1] (based on)
Submitted by:	lioux@ [1]
Thanks to:	andreast@, Anonymous <swell.k AT gmail.com>, decke@, jsa@,
		swills@ and all the testers for their feedback!
2011-03-22 15:24:49 +00:00

12 lines
277 B
C++

--- js/src/jsnativestack.cpp~
+++ js/src/jsnativestack.cpp
@@ -50,7 +50,8 @@
#elif defined(XP_MACOSX) || defined(DARWIN) || defined(XP_UNIX)
# include <pthread.h>
-# if defined(__FreeBSD__)
+# if defined(FREEBSD)
+# include <cstddef>
# include <pthread_np.h>
# endif