diff --git a/src/image.hh b/src/image.hh index 3ba1b0d..baf974b 100644 --- a/src/image.hh +++ b/src/image.hh @@ -17,6 +17,7 @@ /** @file * The DilloImage data-structure and methods */ +#include #ifdef __cplusplus extern "C" { @@ -37,8 +38,6 @@ extern "C" { * Types */ -typedef struct _DilloImage DilloImage; - typedef enum { DILLO_IMG_TYPE_INDEXED, DILLO_IMG_TYPE_RGB, @@ -57,7 +56,7 @@ typedef enum { IMG_Abort /**< Image transfer aborted */ } ImageState; -struct _DilloImage { +struct DilloImage { void *layout, *img_rndr; /* Parameters as told by image data */