diff -Nuar --exclude '*.orig' mysql/extra/replace.c mysql.new/extra/replace.c --- mysql/extra/replace.c 2010-01-31 04:17:57.000000000 -0500 +++ mysql.new/extra/replace.c 2010-02-24 10:42:32.055074861 -0500 @@ -40,6 +40,7 @@ */ #define DONT_USE_RAID +#include #include #include #include diff -Nuar --exclude '*.orig' mysql/include/my_getopt.h mysql.new/include/my_getopt.h --- mysql/include/my_getopt.h 2010-01-31 04:17:59.000000000 -0500 +++ mysql.new/include/my_getopt.h 2010-02-24 10:41:32.365074952 -0500 @@ -16,6 +16,8 @@ #ifndef _my_getopt_h #define _my_getopt_h +#include + C_MODE_START #define GET_NO_ARG 1 diff -Nuar --exclude '*.orig' mysql/include/my_time.h mysql.new/include/my_time.h --- mysql/include/my_time.h 2010-01-31 04:17:59.000000000 -0500 +++ mysql.new/include/my_time.h 2010-02-24 10:41:58.705074961 -0500 @@ -20,6 +20,9 @@ #ifndef _my_time_h_ #define _my_time_h_ + +#include + #include "my_global.h" #include "mysql_time.h" diff -Nuar --exclude '*.orig' mysql/mysys/thr_lock.c mysql.new/mysys/thr_lock.c --- mysql/mysys/thr_lock.c 2010-01-31 04:18:19.000000000 -0500 +++ mysql.new/mysys/thr_lock.c 2010-02-24 10:19:11.045074691 -0500 @@ -80,6 +80,8 @@ #define FORCE_DBUG_OFF #endif +#include + #include "mysys_priv.h" #ifdef THREAD diff -Nuar --exclude '*.orig' mysql/regex/reginit.c mysql.new/regex/reginit.c --- mysql/regex/reginit.c 2010-01-31 04:18:19.000000000 -0500 +++ mysql.new/regex/reginit.c 2010-02-24 10:43:07.695074821 -0500 @@ -1,5 +1,6 @@ /* Init cclasses array from ctypes */ +#include #include #include #include diff -Nuar --exclude '*.orig' mysql/storage/heap/hp_update.c mysql.new/storage/heap/hp_update.c --- mysql/storage/heap/hp_update.c 2010-01-31 04:18:23.000000000 -0500 +++ mysql.new/storage/heap/hp_update.c 2010-02-24 10:44:03.015074446 -0500 @@ -15,6 +15,7 @@ /* Update current record in heap-database */ +#include #include "heapdef.h" int heap_update(HP_INFO *info, const uchar *old, const uchar *heap_new) diff -Nuar --exclude '*.orig' mysql/storage/myisam/myisamdef.h mysql.new/storage/myisam/myisamdef.h --- mysql/storage/myisam/myisamdef.h 2010-01-31 04:18:26.000000000 -0500 +++ mysql.new/storage/myisam/myisamdef.h 2010-02-24 10:44:37.345074924 -0500 @@ -15,6 +15,7 @@ /* This file is included by all internal myisam files */ +#include #include "myisam.h" /* Structs & some defines */ #include "myisampack.h" /* packing of keys */ #include diff -Nuar --exclude '*.orig' mysql/vio/viosslfactories.c mysql.new/vio/viosslfactories.c --- mysql/vio/viosslfactories.c 2010-01-31 04:18:34.000000000 -0500 +++ mysql.new/vio/viosslfactories.c 2010-02-24 10:44:56.245075119 -0500 @@ -13,6 +13,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include #include "vio_priv.h" #ifdef HAVE_OPENSSL