Index: base/process_util.h |
diff --git a/base/process_util.h b/base/process_util.h |
index b4e4fc06d047821cf05a20fa4c32a98d6da08cfb..fe2ad81d6d1e2bcf8f811066c7052402aa3c71c0 100644 |
--- a/base/process_util.h |
+++ b/base/process_util.h |
@@ -166,10 +166,12 @@ BASE_EXPORT void CloseProcessHandle(ProcessHandle process); |
// Win XP SP1 as well. |
BASE_EXPORT ProcessId GetProcId(ProcessHandle process); |
-#if defined(OS_LINUX) || defined(OS_ANDROID) |
+#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_OPENBSD) |
// Returns the path to the executable of the given process. |
BASE_EXPORT FilePath GetProcessExecutablePath(ProcessHandle process); |
+#endif |
+#if defined(OS_LINUX) || defined(OS_ANDROID) |
// Parse the data found in /proc/<pid>/stat and return the sum of the |
// CPU-related ticks. Returns -1 on parse error. |
// Exposed for testing. |