From b483856ff188041f58a934c32c963cb49416a52d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 3 May 2021 15:14:02 -0400 Subject: Clean up includes and add mappings for old versions of IWYU --- .includes.imp | 13 ++++++++++++- src/implementation.c | 2 ++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.includes.imp b/.includes.imp index 74a3105..64472e0 100644 --- a/.includes.imp +++ b/.includes.imp @@ -1,4 +1,15 @@ [ { "include": [ "", "private", "", "public", ] }, - { "include": [ "", "private", "", "public", ] } + { "include": [ "", "private", "", "public", ] }, + { "symbol": [ "bool", "private", "", "public" ] }, + { "symbol": [ "int32_t", "private", "", "public" ] }, + { "symbol": [ "int64_t", "private", "", "public" ] }, + { "symbol": [ "timespec", "private", "", "public" ] }, + { "symbol": [ "timeval", "private", "", "public" ] }, + { "symbol": [ "uint32_t", "private", "", "public" ] }, + { "symbol": [ "uint64_t", "private", "", "public" ] }, + { "symbol": [ "uint8_t", "private", "", "public" ] }, + { "symbol": [ "uintptr_t", "private", "", "public" ] }, + + { "symbol": [ "uintptr_t", "private", "", "public" ] } ] diff --git a/src/implementation.c b/src/implementation.c index 4fe6a8a..6225ac5 100644 --- a/src/implementation.c +++ b/src/implementation.c @@ -16,6 +16,8 @@ #include "implementation.h" +#include "types.h" + #include "pugl/pugl.h" #include -- cgit v1.2.1