From 569b61137cf45521d9fd4f693cf841be485dd4b8 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Sat, 13 Dec 2025 11:17:09 -0700 Subject: move all standard library includes into util.h --- util.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'util.h') diff --git a/util.h b/util.h index 83dd4ab..6e8adbc 100644 --- a/util.h +++ b/util.h @@ -26,9 +26,45 @@ #define CONFIG_ACL 0 #endif +#undef _XOPEN_SOURCE +#define _XOPEN_SOURCE 700 + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#if CONFIG_ACL +#include +#endif +#if CONFIG_SELINUX +#include +#endif #define LENGTH(x) ((int)(sizeof (x) / sizeof *(x))) #define MIN(a, b) ((a) > (b) ? (b) : (a)) -- cgit v1.2.3