--- src/new_proj.c.orig 2008-11-25 14:54:36.000000000 -0500 +++ src/new_proj.c 2008-11-25 14:55:31.000000000 -0500 @@ -41,6 +41,13 @@ #include #endif +#if defined(_SC_ARG_MAX) +# if defined(ARG_MAX) +# undef ARG_MAX +# endif +# define ARG_MAX sysconf (_SC_ARG_MAX) +#endif + /* Bit mask values for arguments. */ #define FORCE 0x1 /* Overwrite existing file. */ #define USE_GLOBAL 0x2 /* Ignore local templates. */