[libc-commits] [libc] c19fda9 - [libc] use stddef instead of string header

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Tue Sep 15 13:13:05 PDT 2020


Author: Guillaume Chatelet
Date: 2020-09-15T20:12:55Z
New Revision: c19fda9aa073254c0979301bd57d875608329fa2

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

LOG: [libc] use stddef instead of string header

Added: 
    

Modified: 
    libc/src/string/bzero.h

Removed: 
    


################################################################################
diff  --git a/libc/src/string/bzero.h b/libc/src/string/bzero.h
index a16e1d097f95..064800bad29b 100644
--- a/libc/src/string/bzero.h
+++ b/libc/src/string/bzero.h
@@ -9,7 +9,7 @@
 #ifndef LLVM_LIBC_SRC_STRING_BZERO_H
 #define LLVM_LIBC_SRC_STRING_BZERO_H
 
-#include "include/string.h"
+#include <stddef.h> // size_t
 
 namespace __llvm_libc {
 


        


More information about the libc-commits mailing list