From 085c795835284d2f0d91ebc87faf5b2da1376bca Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 12 Dec 2018 12:48:39 +0000 Subject: Fix header inclusions. Run a release build on a linux machine to make arch.h etc. Then run toolbin/headercompile.pl to test compiling each headerfile by itself. Resolve all the missing #includes, add missing repeated include guards and copyright statements. Also, update all the header dependencies in the makefiles. It is possible that the object dependencies in the makefiles can be simplified now, but that's a task for another day. --- base/gxstate.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'base/gxstate.h') diff --git a/base/gxstate.h b/base/gxstate.h index 329ea6f7f..07a4840f0 100644 --- a/base/gxstate.h +++ b/base/gxstate.h @@ -19,12 +19,7 @@ #ifndef gxstate_INCLUDED # define gxstate_INCLUDED -/* Opaque type for a graphics state */ -#ifndef gs_gstate_DEFINED -# define gs_gstate_DEFINED -typedef struct gs_gstate_s gs_gstate; - -#endif +#include "gsgstate.h" #include "gscspace.h" /* -- cgit v1.2.1