commit e7565d67d283ed0ba284fc109d53a9aded6289fc
parent db9e4bbab55d5c6e6ec38038f279ec14abecd4f5
Author: Sertonix <sertonix@posteo.net>
Date: Thu, 9 Apr 2026 11:59:07 +0200
Ensure in tests/common.h that fortify-headers.h was included
Exposes bug in c++ compile test which do not include fortify-headers
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/tests/common.h b/tests/common.h
@@ -23,6 +23,10 @@
#include <signal.h>
#include <stdio.h>
+#ifndef _FORTIFY_HEADERS_H
+#error Never included fortify-headers.h
+#endif
+
volatile int chk_fail_ok;
volatile int ret;
jmp_buf chk_fail_buf;