#ifndef MY_GRAPHICS_DEFS #include #include typedef struct { GC gc; Widget db; Display * disp; int xmax,ymax; } environment; typedef struct { int x,y; } point ; typedef struct { point e1, e2; } line; #define MY_GRAPHICS_DEFS #endif