diff options
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/ecpg/preproc/ecpg.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.c b/src/interfaces/ecpg/preproc/ecpg.c index 58368eee847..0239ece7d3c 100644 --- a/src/interfaces/ecpg/preproc/ecpg.c +++ b/src/interfaces/ecpg/preproc/ecpg.c @@ -2,6 +2,8 @@ /* (C) Michael Meskes <meskes@debian.org> Feb 5th, 1998 */ /* Placed under the same copyright as PostgresSQL */ +#include "postgres.h" + #include <stdio.h> #if HAVE_GETOPT_H # include <getopt.h> @@ -9,7 +11,11 @@ # include <unistd.h> #endif #include <stdlib.h> -#include <strings.h> +#if defined(HAVE_STRING_H) +# include <string.h> +#else +# include <strings.h> +#endif #include "extern.h" |