From 4f7165b7c3cf7502215abff48991005fe1dc762d Mon Sep 17 00:00:00 2001 From: Michal 'vorner' Vaner Date: Thu, 6 Jul 2023 14:59:53 +0200 Subject: [PATCH] Compilation fix for OpenBSD It seems to be missing the SI_MESGQ constant. Fixes #146. --- src/low_level/extract.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/low_level/extract.c b/src/low_level/extract.c index 5f22615..4753e68 100644 --- a/src/low_level/extract.c +++ b/src/low_level/extract.c @@ -23,7 +23,9 @@ struct Const consts[] = { { SI_TKILL, -1, 3 }, #endif { SI_QUEUE, -1, 4 }, +#ifdef SI_MESGQ { SI_MESGQ, -1, 5 }, +#endif { CLD_EXITED, SIGCHLD, 6 }, { CLD_KILLED, SIGCHLD, 7 }, { CLD_DUMPED, SIGCHLD, 8 },