This commit is contained in:
kanjitalk755 2024-04-02 20:38:34 +09:00
parent be389a9f11
commit d7c030312d
2 changed files with 6 additions and 0 deletions

View File

@ -950,6 +950,9 @@ AC_CACHE_CHECK([whether TUN/TAP is supported],
#include <net/if.h>
#include <net/if_tun.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
], [
struct ifreq ifr;
memset(&ifr, 0, sizeof(ifr));

View File

@ -810,6 +810,9 @@ AC_CACHE_CHECK([whether TUN/TAP is supported],
#include <net/if.h>
#include <net/if_tun.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
], [
struct ifreq ifr;
memset(&ifr, 0, sizeof(ifr));