net: add ifaddrs.h include

This commit is contained in:
fanquake 2021-03-26 12:53:05 +08:00
parent 879215e665
commit 4783115fd4
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

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