diff -rup apache-log4cxx-0.10.0.orig/src/main/cpp/nteventlogappender.cpp apache-log4cxx-0.10.0/src/main/cpp/nteventlogappender.cpp --- apache-log4cxx-0.10.0.orig/src/main/cpp/nteventlogappender.cpp 2008-03-31 18:34:10.000000000 +0200 +++ apache-log4cxx-0.10.0/src/main/cpp/nteventlogappender.cpp 2008-04-24 19:35:13.760952200 +0200 @@ -16,7 +16,7 @@ */ #if (defined(WIN32) || defined(_WIN32)) && !defined(_WIN32_WCE) - +#define _WINSOCKAPI_ #include #undef ERROR #include