bitcoin compile error on CentOS 6.6: ‘SIZE_MAX’ was not declared in this scope
So I found this thread that gave me the clue how to workaround this issue, basically insert the following at line 5 of src/leveldb/helpers/memenv/memenv.h and it compiles fine:

#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
#endif