Deleted Added
full compact
getif.c (18471) getif.c (20287)
1/*
2 * getif.c : get an interface structure
3 *
1/*
2 * getif.c : get an interface structure
3 *
4 * $Id$
4 * $Id: getif.c,v 1.3 1996/09/22 21:52:12 wosch Exp $
5 */
6
7#include <sys/types.h>
8#include <sys/socket.h>
9#include <sys/ioctl.h>
10
11#if defined(SUNOS) || defined(SVR4)
12#include <sys/sockio.h>
13#endif
14#ifdef SVR4
15#include <sys/stropts.h>
16#endif
17
5 */
6
7#include <sys/types.h>
8#include <sys/socket.h>
9#include <sys/ioctl.h>
10
11#if defined(SUNOS) || defined(SVR4)
12#include <sys/sockio.h>
13#endif
14#ifdef SVR4
15#include <sys/stropts.h>
16#endif
17
18#ifdef _AIX32
19#include <sys/time.h> /* for struct timeval in net/if.h */
18#include <sys/time.h> /* for struct timeval in net/if.h */
20#endif
21#include <net/if.h> /* for struct ifreq */
22#include <netinet/in.h>
23
24#ifndef NO_UNISTD
25#include <unistd.h>
26#endif
27#include <syslog.h>
28#include <errno.h>

--- 121 unchanged lines hidden ---
19#include <net/if.h> /* for struct ifreq */
20#include <netinet/in.h>
21
22#ifndef NO_UNISTD
23#include <unistd.h>
24#endif
25#include <syslog.h>
26#include <errno.h>

--- 121 unchanged lines hidden ---