summaryrefslogtreecommitdiff
path: root/www/firefox52/patches/patch-ipc_chromium_src_base_process__util.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox52/patches/patch-ipc_chromium_src_base_process__util.h')
-rw-r--r--www/firefox52/patches/patch-ipc_chromium_src_base_process__util.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/firefox52/patches/patch-ipc_chromium_src_base_process__util.h b/www/firefox52/patches/patch-ipc_chromium_src_base_process__util.h
new file mode 100644
index 00000000000..2fe1db8d8c3
--- /dev/null
+++ b/www/firefox52/patches/patch-ipc_chromium_src_base_process__util.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-ipc_chromium_src_base_process__util.h,v 1.1 2017/04/27 01:55:57 ryoon Exp $
+
+--- ipc/chromium/src/base/process_util.h.orig 2015-01-09 04:38:16.000000000 +0000
++++ ipc/chromium/src/base/process_util.h
+@@ -41,6 +41,9 @@
+ typedef PROCESSENTRY32 ProcessEntry;
+ typedef IO_COUNTERS IoCounters;
+ #elif defined(OS_POSIX)
++#ifndef NAME_MAX
++#define NAME_MAX _POSIX_NAME_MAX
++#endif
+ // TODO(port): we should not rely on a Win32 structure.
+ struct ProcessEntry {
+ int pid;