3 --- src/IIOP/connection.c.orig Sun May 13 09:07:46 2001
4 +++ src/IIOP/connection.c
7 +#include <sys/types.h>
8 +#include <sys/param.h>
10 #if defined (__hpux) && ! defined (_XOPEN_SOURCE_EXTENDED)
11 # define _XOPEN_SOURCE_EXTENDED 1
12 # define WE_DEFINED_XOPEN_SOURCE_EXTENDED 1
17 -#include <sys/types.h>
19 #include <sys/socket.h>
22 #include <sys/ioctl.h>
27 -#if defined(HAVE_TCPD_H) && defined(HAVE_HOSTS_ACCESS)
28 +#if defined(HAVE_TCPD_H)
33 GIOPConnectionList giop_connection_list;
34 static GSList *iiop_unix_socket_list = NULL;
36 -#if defined(HAVE_HOSTS_ACCESS) && defined (HAVE_TCPD_H)
37 +#if defined (HAVE_TCPD_H)
38 static const char *argv0_val = NULL;
42 struct sigaction mypipe;
43 g_assert(sizeof(GIOPMessageHeader) == 12);
45 -#if defined(HAVE_HOSTS_ACCESS) && defined (HAVE_TCPD_H)
46 +#if defined (HAVE_TCPD_H)
47 argv0_val = g_strdup(g_basename(argv0)); /* For TCP wrappers */
52 int allow_severity = LOG_INFO, deny_severity = LOG_NOTICE;
54 -#if defined(HAVE_HOSTS_ACCESS) && defined(HAVE_TCPD_H)
55 +#if defined(HAVE_TCPD_H)
56 DEFINE_LOCK(tcp_wrappers_usage);
61 newfd = accept(GIOP_CONNECTION_GET_FD(connection), &sock, &n);
63 -#if defined(HAVE_HOSTS_ACCESS) && defined(HAVE_TCPD_H)
64 +#if defined(HAVE_TCPD_H)
65 /* tcp wrappers access checking */
66 switch(IIOP_CONNECTION(connection)->icnxtype) {