Allow this file to compile on Darwin.
authorReid Spencer <rspencer@reidspencer.com>
Thu, 14 Oct 2004 03:33:25 +0000 (03:33 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 14 Oct 2004 03:33:25 +0000 (03:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16971 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Darwin/MappedFile.cpp

index c3f26566d6d28785c3073d64de026a6b8482c054..c740a45224197fba1adcf94886d6e0543a4682b4 100644 (file)
@@ -13,6 +13,7 @@
 //===----------------------------------------------------------------------===//
 
 // Include the generic unix implementation
+#include <sys/stat.h>
 #include "../Unix/MappedFile.cpp"
 
 // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab