From: SATOH Fumiyasu Date: Thu, 26 Jun 2008 08:38:27 +0000 (+0200) Subject: Bugfix: PATH_MAX is defined in limits.h X-Git-Tag: cronie1.2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc9c763c321b82a4f6e71156c80dbc1d9763ab91;p=cronie Bugfix: PATH_MAX is defined in limits.h Signed-off-by: Marcela Mašláňová --- diff --git a/src/macros.h b/src/macros.h index fd4d9fa..4981a01 100644 --- a/src/macros.h +++ b/src/macros.h @@ -18,7 +18,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ - +#ifdef HAVE_LIMITS_H +#include +#endif /* these are really immutable, and are * defined for symbolic convenience only * TRUE, FALSE, and ERR must be distinct diff --git a/src/misc.c b/src/misc.c index 2099c58..cfe7aa2 100644 --- a/src/misc.c +++ b/src/misc.c @@ -24,7 +24,6 @@ */ #include -#include #ifdef WITH_AUDIT #include #endif