diff --git a/libc/hdr/stdint_proxy.h b/libc/hdr/stdint_proxy.h index 8e815679a4e2..d5c600d5a28b 100644 --- a/libc/hdr/stdint_proxy.h +++ b/libc/hdr/stdint_proxy.h @@ -13,6 +13,10 @@ // that is `libc.include.stdint` is added to the dependency of all targets // that use header. +#ifdef LIBC_FULL_BUILD +#include "include/llvm-libc-macros/stdint-macros.h" +#else #include +#endif #endif // LLVM_LIBC_HDR_STDINT_PROXY_H