Protect sys/stat.h with a conditional.

This commit is contained in:
Vincent Béron 2005-11-11 10:53:30 +00:00 committed by Alexandre Julliard
parent f5f8cd0846
commit 182cabea90
1 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,9 @@
# undef _FILE_OFFSET_BITS
# define _FILE_OFFSET_BITS 32
# include <sys/resource.h>
# include <sys/stat.h>
# ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
# endif
# include <sys/swap.h>
#endif