mirror of
https://git.savannah.gnu.org/git/inetutils.git
synced 2026-01-12 00:19:39 +08:00
<osockaddr.h>: Conditionalize on HAVE_OSOCKADDR_H instead of !HAVE_OSOCKADDR.
This commit is contained in:
@@ -47,7 +47,7 @@ static char sccsid[] = "@(#)ctl.c 8.1 (Berkeley) 6/6/93";
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#ifndef HAVE_OSOCKADDR
|
||||
#ifdef HAVE_OSOCKADDR_H
|
||||
#include <osockaddr.h>
|
||||
#endif
|
||||
#include <protocols/talkd.h>
|
||||
|
||||
@@ -43,7 +43,7 @@ static char sccsid[] = "@(#)ctl_transact.c 8.1 (Berkeley) 6/6/93";
|
||||
#include <sys/socket.h>
|
||||
#include <sys/time.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef HAVE_OSOCKADDR
|
||||
#ifdef HAVE_OSOCKADDR_H
|
||||
#include <osockaddr.h>
|
||||
#endif
|
||||
#include <protocols/talkd.h>
|
||||
|
||||
@@ -42,7 +42,7 @@ static char sccsid[] = "@(#)get_addrs.c 8.1 (Berkeley) 6/6/93";
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef HAVE_OSOCKADDR
|
||||
#ifdef HAVE_OSOCKADDR_H
|
||||
#include <osockaddr.h>
|
||||
#endif
|
||||
#include <protocols/talkd.h>
|
||||
|
||||
@@ -41,7 +41,7 @@ static char sccsid[] = "@(#)get_names.c 8.1 (Berkeley) 6/6/93";
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/socket.h>
|
||||
#ifndef HAVE_OSOCKADDR
|
||||
#ifdef HAVE_OSOCKADDR_H
|
||||
#include <osockaddr.h>
|
||||
#endif
|
||||
#include <protocols/talkd.h>
|
||||
|
||||
@@ -44,7 +44,7 @@ static char sccsid[] = "@(#)invite.c 8.1 (Berkeley) 6/6/93";
|
||||
#include <sys/time.h>
|
||||
#include <signal.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef HAVE_OSOCKADDR
|
||||
#ifdef HAVE_OSOCKADDR_H
|
||||
#include <osockaddr.h>
|
||||
#endif
|
||||
#include <protocols/talkd.h>
|
||||
|
||||
@@ -42,7 +42,7 @@ static char sccsid[] = "@(#)look_up.c 8.1 (Berkeley) 6/6/93";
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef HAVE_OSOCKADDR
|
||||
#ifdef HAVE_OSOCKADDR_H
|
||||
#include <osockaddr.h>
|
||||
#endif
|
||||
#include <protocols/talkd.h>
|
||||
|
||||
@@ -45,7 +45,7 @@ static char sccsid[] = "@(#)announce.c 8.3 (Berkeley) 4/28/95";
|
||||
#include <sys/time.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/socket.h>
|
||||
#ifndef HAVE_OSOCKADDR
|
||||
#ifdef HAVE_OSOCKADDR_H
|
||||
#include <osockaddr.h>
|
||||
#endif
|
||||
#include <protocols/talkd.h>
|
||||
|
||||
@@ -43,7 +43,7 @@ static char sccsid[] = "@(#)print.c 8.1 (Berkeley) 6/4/93";
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#ifndef HAVE_OSOCKADDR
|
||||
#ifdef HAVE_OSOCKADDR_H
|
||||
#include <osockaddr.h>
|
||||
#endif
|
||||
#include <protocols/talkd.h>
|
||||
|
||||
@@ -52,7 +52,7 @@ static char sccsid[] = "@(#)process.c 8.2 (Berkeley) 11/16/93";
|
||||
#include <sys/stat.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef HAVE_OSOCKADDR
|
||||
#ifdef HAVE_OSOCKADDR_H
|
||||
#include <osockaddr.h>
|
||||
#endif
|
||||
#include <protocols/talkd.h>
|
||||
|
||||
@@ -51,7 +51,7 @@ static char sccsid[] = "@(#)table.c 8.1 (Berkeley) 6/4/93";
|
||||
#include <sys/param.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/socket.h>
|
||||
#ifndef HAVE_OSOCKADDR
|
||||
#ifdef HAVE_OSOCKADDR_H
|
||||
#include <osockaddr.h>
|
||||
#endif
|
||||
#include <protocols/talkd.h>
|
||||
|
||||
@@ -54,7 +54,7 @@ static char sccsid[] = "@(#)talkd.c 8.1 (Berkeley) 6/4/93";
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#ifndef HAVE_OSOCKADDR
|
||||
#ifdef HAVE_OSOCKADDR_H
|
||||
#include <osockaddr.h>
|
||||
#endif
|
||||
#include <protocols/talkd.h>
|
||||
|
||||
Reference in New Issue
Block a user