bpo-38493: Add os.CLD_KILLED and os.CLD_STOPPED. (GH-16821)
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 6864970..dcd90d3 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -14057,12 +14057,18 @@
#ifdef CLD_EXITED
if (PyModule_AddIntMacro(m, CLD_EXITED)) return -1;
#endif
+#ifdef CLD_KILLED
+ if (PyModule_AddIntMacro(m, CLD_KILLED)) return -1;
+#endif
#ifdef CLD_DUMPED
if (PyModule_AddIntMacro(m, CLD_DUMPED)) return -1;
#endif
#ifdef CLD_TRAPPED
if (PyModule_AddIntMacro(m, CLD_TRAPPED)) return -1;
#endif
+#ifdef CLD_STOPPED
+ if (PyModule_AddIntMacro(m, CLD_STOPPED)) return -1;
+#endif
#ifdef CLD_CONTINUED
if (PyModule_AddIntMacro(m, CLD_CONTINUED)) return -1;
#endif