getaddrinfo: Doc fix.
[pspp] / m4 / afunix.m4
index d218537cc1fb3fc64f25ebaa9829da232ee7fcef..46b3bf34430b686612741d2d5e2bb16947c2e273 100644 (file)
@@ -1,4 +1,4 @@
-# afunix.m4 serial 4
+# afunix.m4 serial 5
 dnl Copyright (C) 2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -38,6 +38,10 @@ AC_DEFUN([gl_SOCKET_AFUNIX],
       [Define to 1 if <sys/socket.h> defines SCM_RIGHTS.])
   fi
 
+  dnl Persuade AIX 5.2 <sys/socket.h> to declare CMSG_SPACE, CMSG_LEN.
+  AC_DEFINE([_LINUX_SOURCE_COMPAT], [1],
+    [Define in order to get some macros on AIX systems.])
+
   AC_MSG_CHECKING([for UNIX domain sockets SCM_RIGHTS that behave in BSD4.4 way])
   AC_CACHE_VAL([gl_cv_socket_unix_scm_rights_bsd44_way],
     [AC_COMPILE_IFELSE(