When will I need to define HAVE_IFADDRS_H?
Hi! I am figuring out the mechanism in the roscpp package, and I found there's codes in the function determineHost() in network.cpp:
#ifdef HAVE_IFADDRS_H
...
#endif
There's a comment : fall back on interface search, which will yield an IP address
But I don't know what does it mean~
Can someone give me a brief explanation?
Thanks in advance, Ricky.