diff --git a/lib/system_win32.h b/lib/system_win32.h index ef83a512c..d2882fce1 100644 --- a/lib/system_win32.h +++ b/lib/system_win32.h @@ -52,7 +52,7 @@ typedef enum { typedef unsigned int(WINAPI *IF_NAMETOINDEX_FN)(const char *); /* This is used instead of if_nametoindex if available on Windows */ -IF_NAMETOINDEX_FN Curl_if_nametoindex; +extern IF_NAMETOINDEX_FN Curl_if_nametoindex; /* This is used to verify if we are running on a specific windows version */ bool Curl_verify_windows_version(const unsigned int majorVersion,