OSDN Git Service

Do not include:
authorBruce Momjian <bruce@momjian.us>
Tue, 24 Jun 2003 00:44:29 +0000 (00:44 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 24 Jun 2003 00:44:29 +0000 (00:44 +0000)
#include <pwd.h>
#include <netdb.h>

in MS CC/Borland builds.

src/include/port.h

index 16f733d..c1bbfd7 100644 (file)
@@ -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);