summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sys2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h
index a0045f13c..53ef13f57 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -346,3 +346,7 @@ char *base_name PARAMS ((char const *));
#ifndef GID_T_MAX
# define GID_T_MAX TYPE_MAXIMUM (gid_t)
#endif
+
+#ifndef PID_T_MAX
+# define PID_T_MAX TYPE_MAXIMUM (pid_t)
+#endif