commit 6599a5bb3ae28d19ebb8998087393caca113e944
parent 1b490c2030daae89025794592dab11fdaaa3a48f
Author: David Goulet <dgoulet@torproject.org>
Date: Tue, 13 Jan 2026 17:02:40 +0000
Merge branch 'fix-seccomp-enabled-build-with-newer-glibc' into 'main'
Fix #41170 - include signal.h if enabling seccomp
Closes #41170
See merge request tpo/core/tor!959
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/lib/sandbox/sandbox.h b/src/lib/sandbox/sandbox.h
@@ -16,6 +16,9 @@
#include "lib/cc/torint.h"
#ifndef SYS_SECCOMP
+#ifdef HAVE_SIGNAL_H
+#include <signal.h>
+#endif
/**
* Used by SIGSYS signal handler to check if the signal was issued due to a