mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-17 07:13:27 +02:00
Merge pull request #359 from teeceepee/patch-2
Add extern "C" around <net/if.h> on HPUX platform.
This commit is contained in:
commit
9f479be862
@ -179,6 +179,11 @@
|
||||
extern unsigned int if_nametoindex (__const char *__ifname) __THROW;
|
||||
extern char *if_indextoname (unsigned int __ifindex, char *__ifname) __THROW;
|
||||
}
|
||||
#elif (POCO_OS == POCO_OS_HPUX)
|
||||
extern "C"
|
||||
{
|
||||
#include <net/if.h>
|
||||
}
|
||||
#else
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user