Do not include:

#include <pwd.h>
	#include <netdb.h>

in MS CC/Borland builds.
This commit is contained in:
Bruce Momjian 2003-06-24 00:44:29 +00:00
parent 99308891ef
commit 646e7f8415
1 changed files with 3 additions and 1 deletions

View 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);