[llvm] r305895 - Fix build after r305892

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 04:10:02 PDT 2017


Author: labath
Date: Wed Jun 21 06:10:02 2017
New Revision: 305895

URL: http://llvm.org/viewvc/llvm-project?rev=305895&view=rev
Log:
Fix build after r305892

Make sure to #include <cerrno> in Support/Errno.h

Modified:
    llvm/trunk/include/llvm/Support/Errno.h

Modified: llvm/trunk/include/llvm/Support/Errno.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Errno.h?rev=305895&r1=305894&r2=305895&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Errno.h (original)
+++ llvm/trunk/include/llvm/Support/Errno.h Wed Jun 21 06:10:02 2017
@@ -14,6 +14,7 @@
 #ifndef LLVM_SUPPORT_ERRNO_H
 #define LLVM_SUPPORT_ERRNO_H
 
+#include <cerrno>
 #include <string>
 #include <type_traits>
 




More information about the llvm-commits mailing list