diff -ruN mysql-5.0.96-orig/configure mysql-5.0.96/configure --- mysql-5.0.96-orig/configure 2012-03-02 08:05:25.000000000 -0600 +++ mysql-5.0.96/configure 2020-11-29 12:57:24.000000000 -0600 @@ -29786,6 +29786,7 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include +#include typedef long long longlong; main() { diff -ruN mysql-5.0.96-orig/ndb/src/common/transporter/TCP_Transporter.cpp mysql-5.0.96/ndb/src/common/transporter/TCP_Transporter.cpp --- mysql-5.0.96-orig/ndb/src/common/transporter/TCP_Transporter.cpp 2012-03-02 08:04:13.000000000 -0600 +++ mysql-5.0.96/ndb/src/common/transporter/TCP_Transporter.cpp 2020-11-29 15:17:54.000000000 -0600 @@ -19,6 +19,7 @@ #include "TCP_Transporter.hpp" #include #include +#include // End of stuff to be moved #if defined NDB_OSE || defined NDB_SOFTOSE diff -ruN mysql-5.0.96-orig/vio/viosocket.c mysql-5.0.96/vio/viosocket.c --- mysql-5.0.96-orig/vio/viosocket.c 2012-03-02 08:04:08.000000000 -0600 +++ mysql-5.0.96/vio/viosocket.c 2020-11-29 15:35:17.000000000 -0600 @@ -21,6 +21,7 @@ the file descriptior. */ +#include #include "vio_priv.h" int vio_errno(Vio *vio __attribute__((unused)))