I am working on an iOS project and include ifaddrs.h
in one of my files using
#include <ifaddrs.h>
Recently, my code stopped working (in particular, getifaddrs
) and I noticed that BLWebSocketsServer delivers a getifaddrs.h/.c
which seems to cause issues. If I remove those two files from XCodes "Headers" and "Compile Sources" phase, my code starts working again.
Now, for my questions:
Why does this happen?
getifaddrs.h
is not<ifaddrs.h>
, so this shouldn'at affect my code, should it?Is there a way to resolve this without altering BLWebSocketsServer?
Thanks!