pretty: allow showing specific trailers
[gitweb.git] / compat / mingw.c
index 6c3c4ca5a62d9a6498e4c8340983390987ae7680..81ef24286a2757920e411b3858bcbdfd51d69a3b 100644 (file)
@@ -1624,7 +1624,8 @@ static void ensure_socket_initialization(void)
                        WSAGetLastError());
 
        for (name = libraries; *name; name++) {
-               ipv6_dll = LoadLibrary(*name);
+               ipv6_dll = LoadLibraryExA(*name, NULL,
+                                         LOAD_LIBRARY_SEARCH_SYSTEM32);
                if (!ipv6_dll)
                        continue;