Include sys/stat.h always: it is not included by various BSD variants.

This commit is contained in:
Juan Jose Garcia Ripoll 2009-01-27 21:51:15 +01:00
parent 061b9d0e78
commit 92c4454ece

View file

@ -27,7 +27,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#if defined(__DragonFly__) || defined(__FreeBSD__)
#if !defined(mingw32) && !defined(_MSC_VER)
#include <sys/stat.h>
/* it isn't pulled in by fcntl.h */
#endif