mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
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: 4d65466f02
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
|
#else
|
||||||
# include <stdint.h>
|
# include <stdint.h>
|
||||||
|
# include <stddef.h>
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
|
|
||||||
# ifdef __ptrdiff_t
|
# ifdef __ptrdiff_t
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue