From 1efd2cf7b0fa2572425333adf9006a6cbf2a838c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 26 Apr 1998 23:14:39 +0000 Subject: [PATCH] Included is a patch for ecpg which seems to have some compiling problems on non POSIX systems such as SunOS 4.1.x. -- Tatsuo Ishii t-ishii@sra.co.jp - --- src/interfaces/ecpg/preproc/pgc.l | 6 ++++++ 1 file changed, 6 insertions(+) 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