Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 646e7f8

Browse files
committed
Do not include:
#include <pwd.h> #include <netdb.h> in MS CC/Borland builds.
1 parent 9930889 commit 646e7f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/include/port.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: port.h,v 1.7 2003/06/14 14:35:42 momjian Exp $
9+
* $Id: port.h,v 1.8 2003/06/24 00:44:29 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313

14+
#if !defined(_MSC_VER) && !defined(__BORLANDC__)
1415
/* for thread.c */
1516
#include <pwd.h>
1617
#include <netdb.h>
18+
#endif
1719

1820
/* Portable path handling for Unix/Win32 */
1921
bool is_absolute_path(const char *filename);

0 commit comments

Comments
 (0)