diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-06-24 00:44:29 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-06-24 00:44:29 +0000 |
commit | 646e7f841510ea56cdc78fc827cd49c078cbae16 (patch) | |
tree | 87c0faf9b1273ae0b17701312ce2215f5918f19d /src | |
parent | 99308891ef00fe092352741992d9bbaabbd33404 (diff) | |
download | postgresql-646e7f841510ea56cdc78fc827cd49c078cbae16.tar.gz postgresql-646e7f841510ea56cdc78fc827cd49c078cbae16.zip |
Do not include:
#include <pwd.h>
#include <netdb.h>
in MS CC/Borland builds.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/port.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/port.h b/src/include/port.h index 16f733d67ca..c1bbfd718c7 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -6,14 +6,16 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: port.h,v 1.7 2003/06/14 14:35:42 momjian Exp $ + * $Id: port.h,v 1.8 2003/06/24 00:44:29 momjian Exp $ * *------------------------------------------------------------------------- */ +#if !defined(_MSC_VER) && !defined(__BORLANDC__) /* for thread.c */ #include <pwd.h> #include <netdb.h> +#endif /* Portable path handling for Unix/Win32 */ bool is_absolute_path(const char *filename); |