Skip to content

Commit b2cf678

Browse files
committed
Add sys/types include for sockaddr test to configure
1 parent 439643a commit b2cf678

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config/c-library.m4

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Macros that test various C library quirks
2-
# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.2 2000/09/27 15:17:52 petere Exp $
2+
# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.3 2000/10/02 03:55:15 momjian Exp $
33

44

55
# PGAC_VAR_INT_TIMEZONE
@@ -60,6 +60,9 @@ fi])# PGAC_UNION_SEMUN
6060
# char sun_path[108]; }. (Requires test for <sys/un.h>!)
6161
AC_DEFUN([PGAC_STRUCT_SOCKADDR_UN],
6262
[AC_CACHE_CHECK([for struct sockaddr_un], pgac_cv_struct_sockaddr_un,
63+
[AC_TRY_COMPILE([#ifdef HAVE_SYS_TYPES_H
64+
#include <sys/types.h>
65+
#endif],
6366
[AC_TRY_COMPILE([#ifdef HAVE_SYS_UN_H
6467
#include <sys/un.h>
6568
#endif],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy