关于#easyx.h#的问题,如何解决?

扫雷图形化,devc++最一开始定义IMAGE类然后报错了,报错位置在easyx.h的下面位置显示“reference 到 'IMAGE' is ambiguous”,
希望能帮忙指出错误。

class FILLSTYLE
{
public:
    FILLSTYLE();
    FILLSTYLE(const FILLSTYLE &style);
    FILLSTYLE& operator = (const FILLSTYLE &style);
    virtual ~FILLSTYLE();

    int            style;                // Fill style
    long        hatch;                // Hatch pattern
    IMAGE*        ppattern;            // Fill image
};

我运行的代码如下

#include <egegraphics.h>
#include <conio.h>
#include <easyx.h>
int main() {
    IMAGE img;
    initgraph(500, 500);
    circle(250, 250, 230);
    getch();
    closegraph();
    return 0;
}

include 里的头文件用 graphics.h 就可以了吧,参考下面链接中的例子

IMAGE的结构体在哪里定义的呢?还是引用了头文件?