Switch to side-by-side view
--- a/src/utils/closefrom.cpp +++ b/src/utils/closefrom.cpp @@ -143,6 +143,9 @@ closefrom_maxfd = max; } +#ifdef sun +#include <limits.h> +#endif int libclf_closefrom(int fd0) { int i, maxfd = closefrom_maxfd;
--- a/src/utils/closefrom.cpp +++ b/src/utils/closefrom.cpp @@ -143,6 +143,9 @@ closefrom_maxfd = max; } +#ifdef sun +#include <limits.h> +#endif int libclf_closefrom(int fd0) { int i, maxfd = closefrom_maxfd;