diff --git a/parser/parser_yacc.y b/parser/parser_yacc.y index 3e2bcd2..a6f12e5 100644 --- a/parser/parser_yacc.y +++ b/parser/parser_yacc.y @@ -902,6 +902,7 @@ rules: rules TOK_SET TOK_RLIMIT TOK_ID TOK_LE TOK_VALUE opt_id TOK_END_OF_RULE pwarn(_("RLIMIT 'cpu' no units specified using default units of seconds\n")); value = tmp; break; +#ifdef RLIMIT_RTTIME case RLIMIT_RTTIME: /* RTTIME is measured in microseconds */ if (!end || $6 == end || tmp < 0) @@ -913,6 +914,7 @@ rules: rules TOK_SET TOK_RLIMIT TOK_ID TOK_LE TOK_VALUE opt_id TOK_END_OF_RULE pwarn(_("RLIMIT 'rttime' no units specified using default units of microseconds\n")); value = tmp; break; +#endif case RLIMIT_NOFILE: case RLIMIT_NPROC: case RLIMIT_LOCKS: -- 2.11.2