diff --git a/src/interfaces/ecpg/preproc/pgc.l b/src/interfaces/ecpg/preproc/pgc.l index a2b6770bd8..cc6bbcb3bd 100644 --- a/src/interfaces/ecpg/preproc/pgc.l +++ b/src/interfaces/ecpg/preproc/pgc.l @@ -5,6 +5,12 @@ #include #include #include + +#ifndef PATH_MAX +#include +#define PATH_MAX MAXPATHLEN +#endif + #if defined(HAVE_STRING_H) #include #else