r6790: Use config.h file for ldb and add test for stdint.h