add some missing #includes in texture.c