diff --git a/configure.ac b/configure.ac index f5e4a016..95b0d944 100644 --- a/configure.ac +++ b/configure.ac @@ -37,10 +37,11 @@ AC_TYPE_SSIZE_T AC_TYPE_UINT32_T AC_TYPE_UINT64_T AC_TYPE_UINT8_T +AC_TYPE_INT8_T dnl Checks for library functions. AC_SYS_LARGEFILE -AC_CHECK_FUNCS([memset strchr strerror strrchr mkdir]) +AC_CHECK_FUNCS([memset strchr strerror strrchr mkdir gettimeofday strtoul]) AC_CHECK_FUNCS([getopt getopt_long snprintf vsnprintf]) AC_CHECK_FUNCS([ftruncate fsync access posix_fallocate posix_fadvise pread pwrite getc_unlocked ferror_unlocked fnmatch]) diff --git a/mingw.h b/mingw.h index be84512e..8457ba59 100644 --- a/mingw.h +++ b/mingw.h @@ -20,7 +20,7 @@ #ifdef __MINGW32__ /* Only for MingW */ -#include "wchar.h" +#include /** * Redefines PATH_MAX to allow long UTF8 names. diff --git a/murmurhash3.c b/murmurhash3.c index 105f661d..37c1b1e3 100644 --- a/murmurhash3.c +++ b/murmurhash3.c @@ -8,11 +8,11 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * along with this program. If not, see . */ /* Derivative work from MurmorHash3.cpp from http://code.google.com/p/smhasher/ */