From 411abf44c741e51a2ec137728ef0f15906a5caca Mon Sep 17 00:00:00 2001 From: Anonymous Date: Mon, 4 Mar 2013 14:47:43 +1300 Subject: [PATCH] OpenIndiana: Add missing limits.h includes --- src/comm/ModDevPoll.cc | 5 ++++- src/store_dir.cc | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/comm/ModDevPoll.cc b/src/comm/ModDevPoll.cc index ad4242a887..2a064d3d18 100644 --- a/src/comm/ModDevPoll.cc +++ b/src/comm/ModDevPoll.cc @@ -69,10 +69,13 @@ #if HAVE_ERRNO_H #include #endif +#if HAVE_LIMITS_H +#include +#endif #define DEBUG_DEVPOLL 0 -/* OPEN_MAX is defined in , presumably included by sys/devpoll.h */ +// OPEN_MAX is defined in #define DEVPOLL_UPDATESIZE OPEN_MAX #define DEVPOLL_QUERYSIZE OPEN_MAX diff --git a/src/store_dir.cc b/src/store_dir.cc index 2d6f0fd09f..a554bb7678 100644 --- a/src/store_dir.cc +++ b/src/store_dir.cc @@ -56,6 +56,9 @@ #if HAVE_SYS_PARAM_H #include #endif +#if HAVE_LIMITS_H +#include +#endif #if HAVE_SYS_MOUNT_H #include #endif -- 2.47.2