summaryrefslogtreecommitdiff
path: root/os_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'os_compat.h')
-rw-r--r--os_compat.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/os_compat.h b/os_compat.h
index 93ea8b06..00e56559 100644
--- a/os_compat.h
+++ b/os_compat.h
@@ -73,6 +73,15 @@ size_t strlcpy(char *dst, const char *src, size_t size);
#endif /* !HAVE_STRLCPY */
+/* Provide missing signal numbers for non-POSIX builds */
+
+#ifndef SIGHUP
+#define SIGHUP 1
+#endif
+#ifndef SIGQUIT
+#define SIGQUIT 3
+#endif
+
# ifdef __cplusplus
}
# endif