diff -Naurd ../aspell-0.60.6.1/common/file_util.cpp ./common/file_util.cpp
--- ../aspell-0.60.6.1/common/file_util.cpp	2011-07-02 22:09:08.000000000 +0100
+++ ./common/file_util.cpp	2012-01-22 08:05:40.462138951 +0000
@@ -13,6 +13,7 @@
 #include "fstream.hpp"
 #include "errors.hpp"
 #include "string_list.hpp"
+#include "asc_ctype.hpp"
 
 #ifdef USE_FILE_LOCKS
 #  include <fcntl.h>
diff -Naurd ../aspell-0.60.6.1/common/lock.hpp ./common/lock.hpp
--- ../aspell-0.60.6.1/common/lock.hpp	2011-07-04 10:23:57.000000000 +0100
+++ ./common/lock.hpp	2012-01-22 07:59:12.592890252 +0000
@@ -15,6 +15,7 @@
 #ifndef DISTRIBNET_LOCK__HPP
 #define DISTRIBNET_LOCK__HPP
 
+#include <cstddef>
 #include <assert.h>
 
 #include "settings.h"
