[libc-commits] [libc] fdd710e - [libc] Add missing header for LIBC_INLINE macro

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Thu Mar 9 04:46:25 PST 2023


Author: Joseph Huber
Date: 2023-03-09T06:45:50-06:00
New Revision: fdd710e69caebf680ed7d4360e04c99024d75094

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

LOG: [libc] Add missing header for LIBC_INLINE macro

Summray:
Forgot to do this in the last patch

Added: 
    

Modified: 
    libc/src/__support/CPP/atomic.h

Removed: 
    


################################################################################
diff  --git a/libc/src/__support/CPP/atomic.h b/libc/src/__support/CPP/atomic.h
index f27a26b03d65..b0e90e32dadd 100644
--- a/libc/src/__support/CPP/atomic.h
+++ b/libc/src/__support/CPP/atomic.h
@@ -9,6 +9,8 @@
 #ifndef LLVM_LIBC_SRC_SUPPORT_CPP_ATOMIC_H
 #define LLVM_LIBC_SRC_SUPPORT_CPP_ATOMIC_H
 
+#include "src/__support/macros/attributes.h"
+
 #include "type_traits.h"
 
 namespace __llvm_libc {


        


More information about the libc-commits mailing list