#include typedef size_t size_t; /* From riku.ri@outlook.com In my case(Arch Linux clang-21), libclang will parse size_t to int directly. To detach size_t and keep it, here typedef size_t to make size_t always a typedef but not compiler built-in type. */ #define bool int /* From riku.ri@outlook.com In my case(Arch Linux clang-21), libclang will parse function pointer that return bool to int forever, but not pointer. */ typedef void* va_list /* From riku.ri@outlook.com In my case(Arch Linux clang-21), libclang will parse va_list to int forever, but not pointer. */ #include "git/libfyaml/include/libfyaml.h"