From b01e971fd39d10273a387788019457792873e81c Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Wed, 11 Jun 2025 17:39:01 +0100 Subject: Don't rely on sys/_types.h including sys/cdefs.h These headers relied in __BEGIN_DECS/__END_DECLS being defined when sys/_types.h was included, but there's not a requirement that this be the case. Reviewed by: imp Exp-run by: antoine (PR 286274) Pull Request: https://github.com/freebsd/freebsd-src/pull/1595 --- include/dlfcn.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/dlfcn.h b/include/dlfcn.h index 89ec43b332e9..9a4ac0faf786 100644 --- a/include/dlfcn.h +++ b/include/dlfcn.h @@ -32,6 +32,7 @@ #ifndef _DLFCN_H_ #define _DLFCN_H_ +#include #include /* -- cgit v1.3