diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-11-03 18:43:52 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-11-03 18:43:52 +0000 |
commit | dfda21e7a66a11a70c31c4cd625ae0d0988ed248 (patch) | |
tree | 55a98fb7ebac9be43cdf0423f5915923300815ef /src/include/c.h | |
parent | b98ba2a04c07c451cb26a6865d7a9fae4659261d (diff) |
Add configure check to see whether <string.h> and <strings.h> may both be
included, and then include <strings.h> if so. Several systems already
needed <strings.h> anyway. Some new systems that claim to conform to the
Unix 9x "standard" do not declare str[n]casemp() in string.h, and C99
compilers will not like that.
Diffstat (limited to 'src/include/c.h')
-rw-r--r-- | src/include/c.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h index b38f2b96e1e..4686de0919e 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: c.h,v 1.84 2000/10/03 03:11:22 momjian Exp $ + * $Id: c.h,v 1.85 2000/11/03 18:43:52 petere Exp $ * *------------------------------------------------------------------------- */ @@ -51,6 +51,9 @@ #include <string.h> #include <stddef.h> #include <stdarg.h> +#ifdef STRING_H_WITH_STRINGS_H +#include <strings.h> +#endif #ifdef __CYGWIN__ #include <errno.h> |