summaryrefslogtreecommitdiff
path: root/cogl/cogl-frame-info.h
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-frame-info.h')
-rw-r--r--cogl/cogl-frame-info.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/cogl/cogl-frame-info.h b/cogl/cogl-frame-info.h
index 36f8a046..f20d0853 100644
--- a/cogl/cogl-frame-info.h
+++ b/cogl/cogl-frame-info.h
@@ -31,13 +31,17 @@
#ifndef __COGL_FRAME_INFO_H
#define __COGL_FRAME_INFO_H
+/* We forward declare the CoglFrameInfo type here to avoid some
+ * circular dependency issues with the following headers.
+ */
+typedef struct _CoglFrameInfo CoglFrameInfo;
+
#include <cogl/cogl-types.h>
#include <cogl/cogl-output.h>
#include <glib.h>
G_BEGIN_DECLS
-typedef struct _CoglFrameInfo CoglFrameInfo;
#define COGL_FRAME_INFO(X) ((CoglFrameInfo *)(X))
/**