提交 e1ea0a28 编写于 作者: O ohair

6637583: Build failure on latest Solaris, source missing include of resource.h?

Summary: The include of sys/resource.h must be explicit
Reviewed-by: xdono
上级 32c5944a
......@@ -63,15 +63,8 @@
#define CLOSEIO
#endif /* NO_INTERRUPTIBLE_IO */
/*
* Linux <sys/resource.h> does not define rlim_t (solaris
* does). THIS IS PROBABLY NOT THE RIGHT THING TO DO, so
* somebody please fix this.
*/
#ifdef __linux__
typedef int rlim_t ;
#endif
/* Get typedef for rlim_t */
#include <sys/resource.h>
#ifdef CLOSEIO
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册