diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-24 04:45:40 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-24 04:45:40 -0400 |
commit | cb134267d4596122bc78c162d23f4719041c7540 (patch) | |
tree | 8a7591f976fb616a335adf765454262cf80c32b6 | |
parent | d2c43ca7e1506f39f6f8ef277bae5c4ca38c1493 (diff) |
sys: queue: Include user headers ifndef _KERNEL
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/include/sys/queue.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/include/sys/queue.h b/sys/include/sys/queue.h index e5d607d..92c1ff2 100644 --- a/sys/include/sys/queue.h +++ b/sys/include/sys/queue.h @@ -27,7 +27,12 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#if !defined(_KERNEL) +#include <stdint.h> +#include <stddef.h> +#else #include <sys/types.h> +#endif /* !_KERNEL */ #ifndef _QUEUE_H_ #define _QUEUE_H_ |