1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:47:35 +00:00

LibC: Tolerate stddef.h being included from the kernel

This can get pulled in by <cxxabi.h>, but we don't want it pulling in
more stuff from LibC.
This commit is contained in:
Andreas Kling 2019-11-29 14:53:14 +01:00
parent 680fd3999e
commit 422e5166f2

View file

@ -1,5 +1,7 @@
#pragma once
#ifndef KERNEL
#include <sys/cdefs.h>
#include <sys/types.h>
@ -11,3 +13,5 @@
typedef __PTRDIFF_TYPE__ ptrdiff_t;
typedef __SIZE_TYPE__ size_t;
#endif