[libc-commits] [libc] f1c6719 - Add stddef.h to fix missing size_t type build errors.

Simon Pilgrim via libc-commits libc-commits at lists.llvm.org
Tue Jun 23 05:12:40 PDT 2020


Author: Simon Pilgrim
Date: 2020-06-23T13:12:18+01:00
New Revision: f1c671925b1c60ded3e4e7b3c6b1ec984b2d9b93

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

LOG: Add stddef.h to fix missing size_t type build errors.

Added: 
    

Modified: 
    libc/fuzzing/string/strcmp_fuzz.cpp

Removed: 
    


################################################################################
diff  --git a/libc/fuzzing/string/strcmp_fuzz.cpp b/libc/fuzzing/string/strcmp_fuzz.cpp
index 6ba8440642ce..01d5d53330a7 100644
--- a/libc/fuzzing/string/strcmp_fuzz.cpp
+++ b/libc/fuzzing/string/strcmp_fuzz.cpp
@@ -10,6 +10,7 @@
 ///
 //===----------------------------------------------------------------------===//
 #include "src/string/strcmp.h"
+#include <stddef.h>
 #include <stdint.h>
 
 extern "C" int LLVMFuzzerTestTwoInputs(const uint8_t *data1, size_t size1,


        


More information about the libc-commits mailing list