[libc-commits] [libc] 0492e1e - [libc] Include 'config.h' from the printf structs for builtins

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Tue Apr 2 17:15:31 PDT 2024


Author: Joseph Huber
Date: 2024-04-02T19:15:24-05:00
New Revision: 0492e1e79568eaad3b693b4c1031139437b7e3f8

URL: https://github.com/llvm/llvm-project/commit/0492e1e79568eaad3b693b4c1031139437b7e3f8
DIFF: https://github.com/llvm/llvm-project/commit/0492e1e79568eaad3b693b4c1031139437b7e3f8.diff

LOG: [libc] Include 'config.h' from the printf structs for builtins

Added: 
    

Modified: 
    libc/src/stdio/printf_core/core_structs.h

Removed: 
    


################################################################################
diff  --git a/libc/src/stdio/printf_core/core_structs.h b/libc/src/stdio/printf_core/core_structs.h
index 1e78f195a75e89..b77b304a697c9c 100644
--- a/libc/src/stdio/printf_core/core_structs.h
+++ b/libc/src/stdio/printf_core/core_structs.h
@@ -12,6 +12,7 @@
 #include "src/__support/CPP/string_view.h"
 #include "src/__support/CPP/type_traits.h"
 #include "src/__support/FPUtil/FPBits.h"
+#include "src/__support/macros/config.h"
 #include "src/stdio/printf_core/printf_config.h"
 
 #include <inttypes.h>


        


More information about the libc-commits mailing list