diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-04-26 23:14:39 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-04-26 23:14:39 +0000 |
commit | 1efd2cf7b0fa2572425333adf9006a6cbf2a838c (patch) | |
tree | ed00d469301926b94a42b1414fc4a5bf547015f3 | |
parent | d31736e92bb270b2324ae6c97c42d500ff555705 (diff) | |
download | postgresql-1efd2cf7b0fa2572425333adf9006a6cbf2a838c.tar.gz postgresql-1efd2cf7b0fa2572425333adf9006a6cbf2a838c.zip |
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 -
-rw-r--r-- | src/interfaces/ecpg/preproc/pgc.l | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/preproc/pgc.l b/src/interfaces/ecpg/preproc/pgc.l index a2b6770bd8a..cc6bbcb3bdc 100644 --- a/src/interfaces/ecpg/preproc/pgc.l +++ b/src/interfaces/ecpg/preproc/pgc.l @@ -5,6 +5,12 @@ #include <ctype.h> #include <sys/types.h> #include <limits.h> + +#ifndef PATH_MAX +#include <sys/param.h> +#define PATH_MAX MAXPATHLEN +#endif + #if defined(HAVE_STRING_H) #include <string.h> #else |