diff options
author | mshah@teja.com <mshah@teja.com> | 2004-09-26 11:24:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:03:22 -0700 |
commit | 68bf91832fcdbc79219ba6bb58f9f075912d6b20 (patch) | |
tree | 55a2955f131e12709642df8703a9967d13e698c5 | |
parent | [PATCH] WinGW/CygWin compatibility support (diff) | |
download | sparse-68bf91832fcdbc79219ba6bb58f9f075912d6b20.tar.gz sparse-68bf91832fcdbc79219ba6bb58f9f075912d6b20.tar.bz2 sparse-68bf91832fcdbc79219ba6bb58f9f075912d6b20.zip |
[PATCH] fix compat-cygwin.c
mingw works fine, but cygwin needs <sys/stat.h> for stat structure
definition.
-rw-r--r-- | compat-cygwin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compat-cygwin.c b/compat-cygwin.c index 13e125c..972d7c9 100644 --- a/compat-cygwin.c +++ b/compat-cygwin.c @@ -10,7 +10,8 @@ #include <sys/mman.h> #include <stdlib.h> #include <string.h> - +#include <sys/stat.h> + #include "lib.h" #include "token.h" |