about summary refs log tree commit diff
path: root/Src/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/system.h')
-rw-r--r--Src/system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Src/system.h b/Src/system.h
index 60f0dfe05..a3edf0fc4 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -620,3 +620,8 @@ extern short ospeed;
 #ifdef BROKEN_TCSETPGRP
 #undef JOB_CONTROL
 #endif /* BROKEN_TCSETPGRP */
+
+#ifdef BROKEN_KILL_ESRCH
+#undef ESRCH
+#define ESRCH EINVAL
+#endif /* BROKEN_KILL_ESRCH */