Index: base/process_util.h |
=================================================================== |
--- base/process_util.h (revision 43257) |
+++ base/process_util.h (working copy) |
@@ -32,6 +32,14 @@ |
#include "base/file_path.h" |
#include "base/process.h" |
+#ifndef NAME_MAX // Solaris and some BSDs have no NAME_MAX |
+#ifdef MAXNAMLEN |
+#define NAME_MAX MAXNAMLEN |
+#else |
+#define NAME_MAX 256 |
+#endif |
+#endif |
+ |
#if defined(OS_WIN) |
typedef PROCESSENTRY32 ProcessEntry; |
typedef IO_COUNTERS IoCounters; |