Commit 20c1dbe7 authored by Youness Alaoui's avatar Youness Alaoui

include sys/socket even if HAVE_GETIFADDRS isn't defined

parent be7195c6
...@@ -38,8 +38,9 @@ ...@@ -38,8 +38,9 @@
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_GETIFADDRS #ifdef HAVE_GETIFADDRS
#include <sys/socket.h>
#include <ifaddrs.h> #include <ifaddrs.h>
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment