diff options
author | 2005-01-06 13:49:00 +0000 | |
---|---|---|
committer | 2005-01-06 13:49:00 +0000 | |
commit | 7ebdd5b1c822d06585020246857d19a54da0b570 (patch) | |
tree | 1cf47315d0eb9ed5efa57b295e26605fdbdf1dfc /dev-libs/log4cxx/files | |
parent | New upstream version. (diff) | |
download | historical-7ebdd5b1c822d06585020246857d19a54da0b570.tar.gz historical-7ebdd5b1c822d06585020246857d19a54da0b570.tar.bz2 historical-7ebdd5b1c822d06585020246857d19a54da0b570.zip |
Fix compilation failure - bug 59743.
Diffstat (limited to 'dev-libs/log4cxx/files')
-rw-r--r-- | dev-libs/log4cxx/files/log4cxx-0.9.5-fix-errno.diff | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-libs/log4cxx/files/log4cxx-0.9.5-fix-errno.diff b/dev-libs/log4cxx/files/log4cxx-0.9.5-fix-errno.diff new file mode 100644 index 000000000000..d157ae369747 --- /dev/null +++ b/dev-libs/log4cxx/files/log4cxx-0.9.5-fix-errno.diff @@ -0,0 +1,24 @@ +--- src/filewatchdog.cpp.orig 2004-08-07 21:36:34.987676584 -0500 ++++ src/filewatchdog.cpp 2004-08-07 21:36:41.562677032 -0500 +@@ -17,10 +17,7 @@ + #include <log4cxx/helpers/filewatchdog.h> + #include <log4cxx/helpers/loglog.h> + #include <sys/stat.h> +- +-#ifdef WIN32 +-#include <errno.h> ++#include <cerrno> +-#endif + + using namespace log4cxx; + using namespace log4cxx::helpers; +--- src/socketimpl.cpp.orig 2004-08-07 22:01:02.577569008 -0500 ++++ src/socketimpl.cpp 2004-08-07 22:01:23.868332320 -0500 +@@ -15,6 +15,7 @@ + ***************************************************************************/ + + #include <log4cxx/config.h> ++#include <cerrno> + + #ifdef WIN32 + #include <windows.h> |