You can set TM_C_FLAGS under Preferences → Advanced → Shell Variables. The default value uses the ‘-include’ option to include the most common headers (e.g. stdio.h), you may want to keep that.