types.h to 3.6 version