Skip to content
Snippets Groups Projects
Commit 4822fa09 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

ip utils: include headers with extern "C"

Change-Id: Ie292a09901bfdf3eaf8be7c2bc17189646677ed1
parent 08548d9c
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <fmt/format.h> #include <fmt/format.h>
extern "C" {
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#include <limits.h> #include <limits.h>
...@@ -37,6 +38,7 @@ WINSOCK_API_LINKAGE INT WSAAPI InetPtonA(INT Family, LPCSTR pStringBuf, PVOID pA ...@@ -37,6 +38,7 @@ WINSOCK_API_LINKAGE INT WSAAPI InetPtonA(INT Family, LPCSTR pStringBuf, PVOID pA
#include <ifaddrs.h> #include <ifaddrs.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#endif #endif
}
#ifndef HOST_NAME_MAX #ifndef HOST_NAME_MAX
#ifdef MAX_COMPUTERNAME_LENGTH #ifdef MAX_COMPUTERNAME_LENGTH
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment