Must include sys/stat.h before declaring a 'struct stat'

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16728 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2004-10-05 18:46:59 +00:00
parent 0c50bc4cc2
commit e789a6bfff
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@
#include "Unix.h"
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
namespace llvm {
using namespace sys;

View File

@ -20,6 +20,7 @@
#include "Unix.h"
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
namespace llvm {
using namespace sys;