File tree Expand file tree Collapse file tree 5 files changed +4
-12
lines changed Expand file tree Collapse file tree 5 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 75
75
#endif /* what declares ether_ntohost() */
76
76
77
77
#ifdef NEED_NETINET_IF_ETHER_H
78
- /*
79
- * Include diag-control.h before <net/if.h>, which too defines a macro
80
- * named ND_UNREACHABLE.
81
- */
82
- #include "diag-control.h"
83
78
#include <net/if.h> /* Needed on some platforms */
84
79
#include <netinet/in.h> /* Needed on some platforms */
85
80
#include <netinet/if_ether.h>
Original file line number Diff line number Diff line change 37
37
*/
38
38
#include "funcattrs.h"
39
39
#include "netdissect.h"
40
- #include "diag-control.h"
41
40
42
41
/*
43
42
* If we have versions of GCC or Clang that support an __attribute__
Original file line number Diff line number Diff line change 34
34
#include <smi.h>
35
35
#endif
36
36
37
+ #ifdef _AIX
38
+ #include "diag-control.h"
39
+ #endif /* _AIX */
40
+
37
41
/*
38
42
* Initialize anything that must be initialized before dissecting
39
43
* packets.
Original file line number Diff line number Diff line change 33
33
#include <time.h>
34
34
#include "status-exit-codes.h"
35
35
#include "funcattrs.h" /* for PRINTFLIKE_FUNCPTR() */
36
- #include "diag-control.h" /* for ND_UNREACHABLE */
37
36
38
37
/*
39
38
* Data types corresponding to multi-byte integral values within data
Original file line number Diff line number Diff line change 24
24
#include <config.h>
25
25
26
26
#ifdef HAVE_NET_IF_H
27
- /*
28
- * Include diag-control.h before <net/if.h>, which too defines a macro
29
- * named ND_UNREACHABLE.
30
- */
31
- #include "diag-control.h"
32
27
#include <net/if.h>
33
28
#endif
34
29
You can’t perform that action at this time.
0 commit comments