diff options
Diffstat (limited to 'src/include/libpq/pqcomm.h')
-rw-r--r-- | src/include/libpq/pqcomm.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/libpq/pqcomm.h b/src/include/libpq/pqcomm.h index 32bd1873ec1..7c476699f06 100644 --- a/src/include/libpq/pqcomm.h +++ b/src/include/libpq/pqcomm.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pqcomm.h,v 1.74 2003/01/06 05:33:45 momjian Exp $ + * $Id: pqcomm.h,v 1.75 2003/01/06 09:58:36 petere Exp $ * *------------------------------------------------------------------------- */ @@ -34,6 +34,15 @@ #endif /* not WIN32 */ +#ifndef INET_ADDRSTRLEN +#define INET_ADDRSTRLEN 16 +#endif + +#ifndef INET6_ADDRSTRLEN +#define INET6_ADDRSTRLEN 46 +#endif + + #ifndef HAVE_STRUCT_SOCKADDR_UN struct sockaddr_un { |