diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index be6078e..07bcde4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -37,7 +37,7 @@ endif() add_library(wiiuse SHARED ${SOURCES} ${API}) if(WIN32) - target_link_libraries(wiiuse Ws2_32 setupapi ${WINHID_LIBRARIES}) + target_link_libraries(wiiuse ws2_32 setupapi ${WINHID_LIBRARIES}) elseif(LINUX) target_link_libraries(wiiuse m ${BLUEZ_LIBRARIES}) endif() diff --git a/src/wiiuse_internal.h b/src/wiiuse_internal.h index aebb1ed..69d4334 100644 --- a/src/wiiuse_internal.h +++ b/src/wiiuse_internal.h @@ -57,7 +57,7 @@ #endif #ifdef WIIUSE_WIN32 - #include + #include #endif #ifdef WIIUSE_BLUEZ #include /* htons() */