mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04:00 
			
		
		
		
	Add sys/types include for sockaddr test to configure
This commit is contained in:
		
							parent
							
								
									439643a668
								
							
						
					
					
						commit
						b2cf67888d
					
				| @ -1,5 +1,5 @@ | ||||
| # Macros that test various C library quirks | ||||
| # $Header: /cvsroot/pgsql/config/c-library.m4,v 1.2 2000/09/27 15:17:52 petere Exp $ | ||||
| # $Header: /cvsroot/pgsql/config/c-library.m4,v 1.3 2000/10/02 03:55:15 momjian Exp $ | ||||
| 
 | ||||
| 
 | ||||
| # PGAC_VAR_INT_TIMEZONE | ||||
| @ -60,6 +60,9 @@ fi])# PGAC_UNION_SEMUN | ||||
| # char sun_path[108]; }. (Requires test for <sys/un.h>!) | ||||
| AC_DEFUN([PGAC_STRUCT_SOCKADDR_UN], | ||||
| [AC_CACHE_CHECK([for struct sockaddr_un], pgac_cv_struct_sockaddr_un, | ||||
| [AC_TRY_COMPILE([#ifdef HAVE_SYS_TYPES_H | ||||
| #include <sys/types.h> | ||||
| #endif], | ||||
| [AC_TRY_COMPILE([#ifdef HAVE_SYS_UN_H | ||||
| #include <sys/un.h> | ||||
| #endif], | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user