From e7565d67d283ed0ba284fc109d53a9aded6289fc Mon Sep 17 00:00:00 2001 From: Sertonix Date: Thu, 9 Apr 2026 11:59:07 +0200 Subject: Ensure in tests/common.h that fortify-headers.h was included Exposes bug in c++ compile test which do not include fortify-headers --- tests/common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/common.h') diff --git a/tests/common.h b/tests/common.h index 9567653..ffe113a 100644 --- a/tests/common.h +++ b/tests/common.h @@ -23,6 +23,10 @@ #include #include +#ifndef _FORTIFY_HEADERS_H +#error Never included fortify-headers.h +#endif + volatile int chk_fail_ok; volatile int ret; jmp_buf chk_fail_buf; -- cgit v1.3