Fix #198
This commit is contained in:
parent
be389a9f11
commit
d7c030312d
|
@ -950,6 +950,9 @@ AC_CACHE_CHECK([whether TUN/TAP is supported],
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <net/if_tun.h>
|
#include <net/if_tun.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_STRING_H
|
||||||
|
#include <string.h>
|
||||||
|
#endif
|
||||||
], [
|
], [
|
||||||
struct ifreq ifr;
|
struct ifreq ifr;
|
||||||
memset(&ifr, 0, sizeof(ifr));
|
memset(&ifr, 0, sizeof(ifr));
|
||||||
|
|
|
@ -810,6 +810,9 @@ AC_CACHE_CHECK([whether TUN/TAP is supported],
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <net/if_tun.h>
|
#include <net/if_tun.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_STRING_H
|
||||||
|
#include <string.h>
|
||||||
|
#endif
|
||||||
], [
|
], [
|
||||||
struct ifreq ifr;
|
struct ifreq ifr;
|
||||||
memset(&ifr, 0, sizeof(ifr));
|
memset(&ifr, 0, sizeof(ifr));
|
||||||
|
|
Loading…
Reference in New Issue