mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Revert 4438ef32's changes to test_address.c
Apparently some versions of the mac sdk care about the ordering of net/if.h wrt other headers. Fixes bug 25319; bug not in any released tor.
This commit is contained in:
parent
4438ef3288
commit
fc22bcadb5
1 changed files with 2 additions and 4 deletions
|
@ -11,11 +11,8 @@
|
|||
#include <iphlpapi.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_NET_IF_H
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_IFADDRS_TO_SMARTLIST
|
||||
#include <net/if.h>
|
||||
#include <ifaddrs.h>
|
||||
#endif
|
||||
|
||||
|
@ -23,6 +20,7 @@
|
|||
#ifdef HAVE_SYS_IOCTL_H
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
#include <net/if.h>
|
||||
#endif /* defined(HAVE_IFCONF_TO_SMARTLIST) */
|
||||
|
||||
#include "or.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue