diff --git a/lib/roken/glob.c b/lib/roken/glob.c index e4bc0dca6..295aa2de8 100644 --- a/lib/roken/glob.c +++ b/lib/roken/glob.c @@ -94,6 +94,10 @@ #include "glob.h" #include "roken.h" +#ifndef ARG_MAX +#define ARG_MAX _POSIX_ARG_MAX +#endif + #define CHAR_DOLLAR '$' #define CHAR_DOT '.' #define CHAR_EOS '\0'