diff --git a/BasiliskII/src/Unix/configure.ac b/BasiliskII/src/Unix/configure.ac index 45f5e2df..edef61ce 100644 --- a/BasiliskII/src/Unix/configure.ac +++ b/BasiliskII/src/Unix/configure.ac @@ -950,6 +950,9 @@ AC_CACHE_CHECK([whether TUN/TAP is supported], #include #include #endif + #ifdef HAVE_STRING_H + #include + #endif ], [ struct ifreq ifr; memset(&ifr, 0, sizeof(ifr)); diff --git a/SheepShaver/src/Unix/configure.ac b/SheepShaver/src/Unix/configure.ac index e0e32297..0b09ea31 100644 --- a/SheepShaver/src/Unix/configure.ac +++ b/SheepShaver/src/Unix/configure.ac @@ -810,6 +810,9 @@ AC_CACHE_CHECK([whether TUN/TAP is supported], #include #include #endif + #ifdef HAVE_STRING_H + #include + #endif ], [ struct ifreq ifr; memset(&ifr, 0, sizeof(ifr));