BMP allgo , question loading bmp

if i load a bmp, the colors are strange, i mean teal is displayed as yellow and yellow is displayed as teal

whats the problem?
like it should be:

like it is:

RGB versus BGR, watch how you load the .bmp file and how you send data to opengl texture with glTexImage2D.

i load it with fread into a char buffer
how it comes from gimp, so i need to load it reverse?

thanx i use it like this now
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB,bmfh.width , bmfh.height, 0, GL_BGR_EXT, GL_UNSIGNED_BYTE, bData.DATA);

the GL_BGR_EXT, is the clou
and its fine