kernel: Protect sys/resource.h include.

This commit is contained in:
Francois Gouget 2006-03-02 19:37:37 +01:00 committed by Alexandre Julliard
parent a2bc9df948
commit 2f29c779d4
1 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,9 @@
/* FIXME: Unfortunately swapctl can't be used with largefile.... */
# undef _FILE_OFFSET_BITS
# define _FILE_OFFSET_BITS 32
# include <sys/resource.h>
# ifdef HAVE_SYS_RESOURCE_H
# include <sys/resource.h>
# endif
# ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
# endif