linking error!

I have a problem: I use vc6.0 to compile the
source file, everytime, every file, the compiler just said like this:

e:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2144: syntax error : missing ‘;’ before type ‘void’
e:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2501: ‘WINGDIAPI’ : missing storage-class or type specifiers
e:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : fatal error C1004: unexpected end of file found

I have included the header files and added
the lib files into the project|settings|link.
I don’t know what is the problem and can’t
continue my stuty Please help me!

Start with including windows.h before including gl.h

HTH

Jean-Marc

Thank you! JML
some source files are downloaded from website, it seems everything has done and I also has included the windows.h but the errors just appear in the gl.h file like above.