sys/_types.h: Unbreak gcc build

We can't assume that <sys/cdefs.h> is in scope.

Fixes:		85ab981a8e ("sys/_types.h: define fallback __(u)intcap_t")
Reviewed by:	olce, imp, emaste
Differential Revision:	https://reviews.freebsd.org/D53980
This commit is contained in:
Dag-Erling Smørgrav
2025-11-28 20:47:04 +01:00
parent 9978553d01
commit 19728f31ae
+1 -1
View File
@@ -161,7 +161,7 @@ typedef int __cpulevel_t; /* level parameter for cpuset. */
typedef int __cpusetid_t; /* cpuset identifier. */
typedef __int64_t __daddr_t; /* bwrite(3), FIOBMAP2, etc */
#if !__has_feature(capabilities)
#if !defined(__has_feature) || !__has_feature(capabilities)
/*
* On non-CHERI systems, define __(u)intcap_t to __(u)intptr_t so that
* hybrid-C code which needs to be explicitly aware of capabilities can