net: add ifaddrs.h include

Github-Pull: #21486
Rebased-From: 4783115fd4
This commit is contained in:
fanquake
2021-03-26 12:53:05 +08:00
parent f6896dfde7
commit 1a9a2cb7dc

View File

@@ -28,6 +28,10 @@
#include <fcntl.h>
#endif
#if HAVE_DECL_GETIFADDRS && HAVE_DECL_FREEIFADDRS
#include <ifaddrs.h>
#endif
#ifdef USE_POLL
#include <poll.h>
#endif