diff options
Diffstat (limited to 'libjava/include')
-rw-r--r-- | libjava/include/config.h.in | 3 | ||||
-rw-r--r-- | libjava/include/posix.h | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in index f23c881..cc3d773 100644 --- a/libjava/include/config.h.in +++ b/libjava/include/config.h.in @@ -83,6 +83,9 @@ /* Define if struct ip_mreq is defined in netinet/in.h. */ #undef HAVE_STRUCT_IP_MREQ +/* Define if struct ipv6_mreq is defined in netinet/in.h. */ +#undef HAVE_STRUCT_IPV6_MREQ + /* Define it socklen_t typedef is in sys/socket.h. */ #undef HAVE_SOCKLEN_T diff --git a/libjava/include/posix.h b/libjava/include/posix.h index 278f7eb..e7ba317 100644 --- a/libjava/include/posix.h +++ b/libjava/include/posix.h @@ -8,6 +8,11 @@ This software is copyrighted work licensed under the terms of the Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details. */ +/* Required on Tru64 UNIX V4/V5 so <sys/socket.h> defines prototypes of + socket functions with socklen_t instead of size_t. This must be defined + early so <standards.h> defines the correct version of __PIIX. */ +#define _POSIX_PII_SOCKET + #include <time.h> #include <sys/types.h> |