diff options
Diffstat (limited to 'src/protocol')
| -rw-r--r-- | src/protocol/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/protocol/inspircd11.c | 2 | ||||
| -rw-r--r-- | src/protocol/inspircd12.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/protocol/CMakeLists.txt b/src/protocol/CMakeLists.txt index c384f7a31..71352d576 100644 --- a/src/protocol/CMakeLists.txt +++ b/src/protocol/CMakeLists.txt @@ -19,7 +19,7 @@ foreach(SRC ${PROTOCOL_SRCS}) endif(MSVC) # Generate the module and set it's linker flags, also set it to depend on the main Anope executable to be built beforehand add_library(${SO} MODULE ${SRC}) - set_target_properties(${SO} PROPERTIES PREFIX "" SUFFIX "" LINK_FLAGS "${LDFLAGS}") + set_target_properties(${SO} PROPERTIES LINKER_LANGUAGE CXX PREFIX "" SUFFIX "" LINK_FLAGS "${LDFLAGS}") add_dependencies(${SO} ${PROGRAM_NAME}) # For Windows only, have the module link to the export library of Anope as well as the wsock32 library (most of the modules probably don't need this, but this is to be on the safe side), also set it's version if(WIN32) diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c index 1b38286d5..d1df8220f 100644 --- a/src/protocol/inspircd11.c +++ b/src/protocol/inspircd11.c @@ -61,7 +61,7 @@ #endif #ifdef _WIN32 -#include "winsock.h" +#include <winsock.h> int inet_aton(const char *name, struct in_addr *addr) { uint32 a = inet_addr(name); diff --git a/src/protocol/inspircd12.cpp b/src/protocol/inspircd12.cpp index c7edecd82..bef8d113c 100644 --- a/src/protocol/inspircd12.cpp +++ b/src/protocol/inspircd12.cpp @@ -61,7 +61,7 @@ #endif #ifdef _WIN32 -#include "winsock.h" +#include <winsock.h> int inet_aton(const char *name, struct in_addr *addr) { uint32 a = inet_addr(name); |
