summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2003-06-24 00:44:29 +0000
committerBruce Momjian2003-06-24 00:44:29 +0000
commit646e7f841510ea56cdc78fc827cd49c078cbae16 (patch)
tree87c0faf9b1273ae0b17701312ce2215f5918f19d
parent99308891ef00fe092352741992d9bbaabbd33404 (diff)
Do not include:
#include <pwd.h> #include <netdb.h> in MS CC/Borland builds.
-rw-r--r--src/include/port.h4
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);