summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@serenityos.org>2020-06-12 16:21:49 +0300
committerAndreas Kling <kling@serenityos.org>2020-06-12 16:08:45 +0200
commit4d65466f02d042b1440a76d8e035a4cb58b0d1cf (patch)
treed4f36c98e9f750bdd7a7f669c4c65069472bea4c
parent08f29be87a9d329a3f70ae27584a2a2f91fa84fd (diff)
downloadserenity-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.h1
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