diff options
author | Sergey Bugaev <bugaevc@serenityos.org> | 2020-06-12 16:21:49 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-12 16:08:45 +0200 |
commit | 4d65466f02d042b1440a76d8e035a4cb58b0d1cf (patch) | |
tree | d4f36c98e9f750bdd7a7f669c4c65069472bea4c | |
parent | 08f29be87a9d329a3f70ae27584a2a2f91fa84fd (diff) | |
download | serenity-4d65466f02d042b1440a76d8e035a4cb58b0d1cf.zip |
AK: Fix missing ptrdiff_t in non-Serenity builds
We have to include <stddef.h> to get its definition.
-rw-r--r-- | AK/Types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/AK/Types.h b/AK/Types.h index a93303ffaa..5575be3e09 100644 --- a/AK/Types.h +++ b/AK/Types.h @@ -63,6 +63,7 @@ typedef int pid_t; #else # include <stdint.h> +# include <stddef.h> # include <sys/types.h> # ifdef __ptrdiff_t |