1 //===- System.inc ---------------------------------------------------------===// 2 // 3 // The MCLinker Project 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 #include <cstring> 10 #include <sys/types.h> 11 #include <sys/stat.h> 12 #include <fcntl.h> 13 14 namespace mcld{ 15 namespace sys{ 16 17 char *strerror(int errnum) 18 { 19 return std::strerror(errnum); 20 } 21 22 } // namespace of sys 23 } // namespace of mcld 24 25