Skip to content

Commit

Permalink
<sys/libkern.h>: Don't include <ssp/ssp.h> in the kernel
Browse files Browse the repository at this point in the history
Reviewed by:	kevans
Obtained from:	CheriBSD
Sponsored by:	AFRL, DARPA
Differential Revision:	https://reviews.freebsd.org/D47519
  • Loading branch information
bsdjhb committed Nov 14, 2024
1 parent 73da026 commit 9d4428a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/sys/libkern.h
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ signed_extend32(uint32_t bitmap, int lsb, int width)
#define FNM_IGNORECASE FNM_CASEFOLD
#define FNM_FILE_NAME FNM_PATHNAME

#if __has_include(<ssp/ssp.h>)
#if !defined(_KERNEL) && __has_include(<ssp/ssp.h>)
#include <ssp/ssp.h> /* __ssp_real */
#else
#define __ssp_real(fun) fun
Expand Down

0 comments on commit 9d4428a

Please sign in to comment.