Bug 823240 - include sys/proc.h on OpenBSD to access P_TRACED flag, needed since r1.127 of sys/sysctl.h. r=cjones
authorLandry Breuil <landry@openbsd.org>
Thu, 20 Dec 2012 13:46:39 +0100
changeset 125725 8b94cd856c5959d7464ee7ed1d8e75fb9bb152e0
parent 125724 259aa51773334998c074fa8676acbd50bab9d673
child 125726 7d7600c0d5d0dd9ac4c366f041f8b4b053c41a98
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscjones
bugs823240
milestone20.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 823240 - include sys/proc.h on OpenBSD to access P_TRACED flag, needed since r1.127 of sys/sysctl.h. r=cjones
ipc/chromium/src/base/debug_util_posix.cc
--- a/ipc/chromium/src/base/debug_util_posix.cc
+++ b/ipc/chromium/src/base/debug_util_posix.cc
@@ -15,16 +15,19 @@
 #include <sys/param.h>
 #include <sys/types.h>
 #include <unistd.h>
 #if MOZ_HAVE_EXECINFO_H
 #include <execinfo.h>
 #endif
 
 #if defined(OS_MACOSX) || defined(OS_BSD)
+#if defined(OS_OPENBSD)
+#include <sys/proc.h>
+#endif
 #include <sys/sysctl.h>
 #endif
 
 #if defined(OS_DRAGONFLY) || defined(OS_FREEBSD)
 #include <sys/user.h>
 #endif
 
 #include "base/basictypes.h"