mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Add #include <sys/types.h> so it works with Ultrix's in.h
This commit is contained in:
		@@ -7,7 +7,7 @@
 | 
			
		||||
 *
 | 
			
		||||
 *
 | 
			
		||||
 * IDENTIFICATION
 | 
			
		||||
 *    $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.7 1996/11/06 08:48:23 scrappy Exp $
 | 
			
		||||
 *    $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.8 1996/11/16 08:09:15 bryanh Exp $
 | 
			
		||||
 *
 | 
			
		||||
 *-------------------------------------------------------------------------
 | 
			
		||||
 */
 | 
			
		||||
@@ -59,6 +59,7 @@
 | 
			
		||||
#include <pwd.h>
 | 
			
		||||
#include <ctype.h>		        /* isspace() declaration */
 | 
			
		||||
 | 
			
		||||
#include <sys/types.h>    /* needed by in.h on Ultrix */
 | 
			
		||||
#include <netinet/in.h>
 | 
			
		||||
#include <arpa/inet.h>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,7 @@
 | 
			
		||||
 *
 | 
			
		||||
 *
 | 
			
		||||
 * IDENTIFICATION
 | 
			
		||||
 *    $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.11 1996/11/10 03:00:26 momjian Exp $
 | 
			
		||||
 *    $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.12 1996/11/16 08:09:16 bryanh Exp $
 | 
			
		||||
 *
 | 
			
		||||
 *-------------------------------------------------------------------------
 | 
			
		||||
 */
 | 
			
		||||
@@ -17,12 +17,10 @@
 | 
			
		||||
#include <pwd.h>
 | 
			
		||||
#include <sys/stat.h>
 | 
			
		||||
#include <sys/socket.h>
 | 
			
		||||
#include <sys/types.h>    /* needed by in.h on Ultrix */
 | 
			
		||||
#include <netinet/in.h>
 | 
			
		||||
#include <arpa/inet.h>
 | 
			
		||||
#include <unistd.h>
 | 
			
		||||
#if defined(sparc_solaris)
 | 
			
		||||
#include <inet_aton.h> /* after I copied it into port/sparc_solaris */
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include <postgres.h>
 | 
			
		||||
#include <miscadmin.h>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user