summaryrefslogtreecommitdiff
path: root/lib/system_win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system_win32.h')
-rw-r--r--lib/system_win32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system_win32.h b/lib/system_win32.h
index c07cf1fb7..d2882fce1 100644
--- a/lib/system_win32.h
+++ b/lib/system_win32.h
@@ -51,8 +51,8 @@ typedef enum {
/* We use our own typedef here since some headers might lack this */
typedef unsigned int(WINAPI *IF_NAMETOINDEX_FN)(const char *);
-/* This is used instread of if_nametoindex if available on Windows */
-IF_NAMETOINDEX_FN Curl_if_nametoindex;
+/* This is used instead of if_nametoindex if available on Windows */
+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,