Protect sys/stat.h with a conditional.
This commit is contained in:
parent
f5f8cd0846
commit
182cabea90
|
@ -45,7 +45,9 @@
|
||||||
# undef _FILE_OFFSET_BITS
|
# undef _FILE_OFFSET_BITS
|
||||||
# define _FILE_OFFSET_BITS 32
|
# define _FILE_OFFSET_BITS 32
|
||||||
# include <sys/resource.h>
|
# include <sys/resource.h>
|
||||||
# include <sys/stat.h>
|
# ifdef HAVE_SYS_STAT_H
|
||||||
|
# include <sys/stat.h>
|
||||||
|
# endif
|
||||||
# include <sys/swap.h>
|
# include <sys/swap.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue