6637583: Build failure on latest Solaris, source missing include of resource.h?
The include of sys/resource.h must be explicit Reviewed-by: xdono
This commit is contained in:
parent
e467c731a7
commit
05b8e8fbfd
@ -63,15 +63,8 @@
|
|||||||
#define CLOSEIO
|
#define CLOSEIO
|
||||||
#endif /* NO_INTERRUPTIBLE_IO */
|
#endif /* NO_INTERRUPTIBLE_IO */
|
||||||
|
|
||||||
/*
|
/* Get typedef for rlim_t */
|
||||||
* Linux <sys/resource.h> does not define rlim_t (solaris
|
#include <sys/resource.h>
|
||||||
* does). THIS IS PROBABLY NOT THE RIGHT THING TO DO, so
|
|
||||||
* somebody please fix this.
|
|
||||||
*/
|
|
||||||
#ifdef __linux__
|
|
||||||
typedef int rlim_t ;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef CLOSEIO
|
#ifdef CLOSEIO
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user