diff options
-rw-r--r-- | os_compat.h | 9 |
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 |