Andrew Eikum andrew@brightnightgames.com writes:
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 501e6ed..4ba329f 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -27,6 +27,8 @@ extern "C" { #endif
+#include <ddraw.h>
gdiplusflat.h is not supposed to depend on ddraw.h.
Alexandre Julliard wrote:
Andrew Eikum andrew@brightnightgames.com writes:
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 501e6ed..4ba329f 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -27,6 +27,8 @@ extern "C" { #endif
+#include <ddraw.h>
gdiplusflat.h is not supposed to depend on ddraw.h.
Okay, what's the proper way to fix this? With a forward declaration in gdiplusflat.h? This seems to compile okay.