swrast: Clean up header file inclusion in s_fog.h.
authorVinson Lee <vlee@vmware.com>
Sat, 25 Dec 2010 04:11:44 +0000 (20:11 -0800)
committerVinson Lee <vlee@vmware.com>
Sat, 25 Dec 2010 04:11:44 +0000 (20:11 -0800)
src/mesa/swrast/s_fog.h

index ebc3513f496c070ac6e51f1beeee0887f7d2309e..9f93b7050843cf1f438012cd59f5fa463915ec3c 100644 (file)
 #define S_FOG_H
 
 
-#include "main/mtypes.h"
+#include "main/glheader.h"
 #include "s_span.h"
 
+struct gl_context;
 
 extern GLfloat
 _swrast_z_to_fogfactor(struct gl_context *ctx, GLfloat z);