]> The Tcpdump Group git mirrors - tcpdump/blobdiff - addrtoname.c
Include diag-control.h only where necessary.
[tcpdump] / addrtoname.c
index 2a66b50e7d87b7e378036bb3404bc1b9f2ce333b..48fac28696d7be8368b785d9316764e80b64991a 100644 (file)
   #endif /* what declares ether_ntohost() */
 
   #ifdef NEED_NETINET_IF_ETHER_H
-    /*
-     * Include diag-control.h before <net/if.h>, which too defines a macro
-     * named ND_UNREACHABLE.
-     */
-    #include "diag-control.h"
     #include <net/if.h>                /* Needed on some platforms */
     #include <netinet/in.h>    /* Needed on some platforms */
     #include <netinet/if_ether.h>