net: add ifaddrs.h include

This commit is contained in:
fanquake
2021-03-26 12:53:05 +08:00
parent 879215e665
commit 4783115fd4

View File

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