diff -dur boost_1_51_0/tools/build/v2/engine/filent.c boost_1_51_0--Win8Compat/tools/build/v2/engine/filent.c --- boost_1_51_0/tools/build/v2/engine/filent.c 2012-04-25 21:35:55.000000000 -0600 +++ boost_1_51_0--Win8Compat/tools/build/v2/engine/filent.c 2012-08-20 11:26:21.913323100 -0600 @@ -79,7 +79,7 @@ PATHNAME f; string filespec[ 1 ]; string filename[ 1 ]; - long handle; + intptr_t handle; int ret; struct _finddata_t finfo[ 1 ]; LIST * files = L0; diff -dur boost_1_51_0/tools/build/v2/engine/mem.h boost_1_51_0--Win8Compat/tools/build/v2/engine/mem.h --- boost_1_51_0/tools/build/v2/engine/mem.h 2011-06-06 14:36:21.000000000 -0600 +++ boost_1_51_0--Win8Compat/tools/build/v2/engine/mem.h 2012-08-20 11:25:50.016665400 -0600 @@ -62,6 +62,7 @@ #else /* Standard C memory allocation. */ + #include #define bjam_malloc_x(s) malloc(s) #define bjam_calloc_x(n,s) calloc(n,s) #define bjam_realloc_x(p,s) realloc(p,s)