--- libdnet-stripped/configure.orig 2025-04-30 19:58:18 UTC +++ libdnet-stripped/configure @@ -650,6 +650,9 @@ ac_includes_default="\ #ifdef HAVE_SYS_STAT_H # include #endif +#ifdef HAVE_SYS_SOCKET_H +# include +#endif #ifdef HAVE_UNISTD_H # include #endif"