AK: Fix missing ptrdiff_t in non-Serenity builds
We have to include <stddef.h> to get its definition.
This commit is contained in:
parent
08f29be87a
commit
4d65466f02
Notes:
sideshowbarker
2024-07-19 05:42:35 +09:00
Author: https://github.com/bugaevc Commit: https://github.com/SerenityOS/serenity/commit/4d65466f02d Pull-request: https://github.com/SerenityOS/serenity/pull/2547
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ typedef int pid_t;
|
|||
|
||||
#else
|
||||
# include <stdint.h>
|
||||
# include <stddef.h>
|
||||
# include <sys/types.h>
|
||||
|
||||
# ifdef __ptrdiff_t
|
||||
|
|
Loading…
Add table
Reference in a new issue