git: 9ba7351fcfd7 - main - ssp: Make ssp.h more self-contained
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Dec 2024 17:58:34 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=9ba7351fcfd7ccd6cdb5ca2b774a338ab12b1ee8
commit 9ba7351fcfd7ccd6cdb5ca2b774a338ab12b1ee8
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-12-29 17:57:46 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-12-29 17:57:46 +0000
ssp: Make ssp.h more self-contained
Include a header to provide __size_t.
Fixes: c10d567ea022 ("include: de-macro __ssp_overlap(), improve semantics and checking")
PR: 283653
Reviewed by: kevans, imp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D48226
---
include/ssp/ssp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/ssp/ssp.h b/include/ssp/ssp.h
index 6856c5ce6961..489f49a90218 100644
--- a/include/ssp/ssp.h
+++ b/include/ssp/ssp.h
@@ -87,6 +87,7 @@ __ssp_redirect_raw_impl(rtype, fun, symbol, args) { \
#define __ssp_redirect0(rtype, fun, args, call) \
__ssp_redirect_raw(rtype, fun, fun, args, call, 1, __ssp_bos0, __len)
+#include <sys/_types.h>
#include <machine/_limits.h>
__ssp_inline int