From bab78d962ac6f3d878e4e9c17cb111bff11a1b6d Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 26 Mar 2026 22:36:44 +0000 Subject: cleanup Signed-off-by: Leah Rowe --- util/libreboot-utils/include/common.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'util/libreboot-utils/include/common.h') diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h index 7f063a8c..1bef0d50 100644 --- a/util/libreboot-utils/include/common.h +++ b/util/libreboot-utils/include/common.h @@ -22,6 +22,10 @@ #include #endif +#ifdef __OpenBSD__ /* for pledge */ +#include +#endif + #define items(x) (sizeof((x)) / sizeof((x)[0])) /* system prototypes @@ -369,6 +373,8 @@ void write_mac_part(size_t partnum); /* string functions */ +int xunveilx(const char *path, const char *permissions); +int xpledgex(const char *promises, const char *execpromises); int slen(const char *scmp, size_t maxlen, size_t *rval); int scmp(const char *a, const char *b, -- cgit v1.2.1