aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-01-08 16:32:52 +0100
committerChristian Grothoff <christian@grothoff.org>2024-01-08 16:32:52 +0100
commitc3e597a8183cb86b0895118ee3f87e42c968d55b (patch)
tree75e6c41eaf6b17b9a7c473a69f67d2a72039b4c0 /src/include
parent02600a748e0262903b23a5b7f9fa5777c5e16aa5 (diff)
downloadexchange-c3e597a8183cb86b0895118ee3f87e42c968d55b.tar.xz
define exit code for not restarting via systemd (see #8030)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/platform.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index efce84eeb..e972943d0 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -254,6 +254,11 @@ atoll (const char *nptr);
#define EXIT_NOTRUNNING 7
#endif
+#ifndef EXIT_NO_RESTART 9
+#define EXIT_NO_RESTART 9
+#endif
+
+
/**
* clang et al do not have such an attribute
*/