diff --git a/configure.ac b/configure.ac index 6adb21a3a..86018e9cc 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.63]) -AC_INIT([leech], [0.1.9], [https://github.com/larsewi/leech/issues], [leech], +AC_INIT([leech], [0.1.10], [https://github.com/larsewi/leech/issues], [leech], [https://github.com/larsewi/leech]) AC_CONFIG_SRCDIR([lib/leech.h]) diff --git a/lib/buffer.c b/lib/buffer.c index a07332c17..f067d1efc 100644 --- a/lib/buffer.c +++ b/lib/buffer.c @@ -1,14 +1,20 @@ #include "buffer.h" -#include #include #include #include #include #include +#include #include #include +#ifdef _WIN32 +#include +#else // _WIN32 +#include +#endif // _WIN32 + #include "definitions.h" #include "files.h" #include "logger.h" diff --git a/tests/check_buffer.c b/tests/check_buffer.c index 1fe86f0de..b6146aa2f 100644 --- a/tests/check_buffer.c +++ b/tests/check_buffer.c @@ -1,6 +1,11 @@ -#include #include +#ifdef _WIN32 +#include +#else // _WIN32 +#include +#endif // _WIN32 + #include "../lib/buffer.h" START_TEST(test_LCH_Buffer) {