Remove config.h from types.h; all .c files are required to include it.