Deleted Added
full compact
getif.c (3229) getif.c (13572)
1/*
2 * getif.c : get an interface structure
3 */
4
5#include <sys/types.h>
6#include <sys/socket.h>
7#include <sys/ioctl.h>
8
9#if defined(SUNOS) || defined(SVR4)
10#include <sys/sockio.h>
11#endif
12#ifdef SVR4
13#include <sys/stropts.h>
14#endif
15
1/*
2 * getif.c : get an interface structure
3 */
4
5#include <sys/types.h>
6#include <sys/socket.h>
7#include <sys/ioctl.h>
8
9#if defined(SUNOS) || defined(SVR4)
10#include <sys/sockio.h>
11#endif
12#ifdef SVR4
13#include <sys/stropts.h>
14#endif
15
16#ifdef _AIX32
17#include <sys/time.h> /* for struct timeval in net/if.h */
18#endif
16#include <net/if.h> /* for struct ifreq */
17#include <netinet/in.h>
18
19#ifndef NO_UNISTD
20#include <unistd.h>
21#endif
22#include <syslog.h>
23#include <errno.h>

--- 122 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>

--- 122 unchanged lines hidden ---