--- graphviz-2.26.3/lib/gvc/gvcext.h 2010-11-15 23:12:38.669004693 +0100 +++ graphviz-2.26.3/lib/gvc/gvcext.h 2010-11-15 23:30:02.887004693 +0100 @@ -58,6 +58,7 @@ typedef struct GVJ_s GVJ_t; typedef struct GVC_s GVC_t; + typedef struct { const char *name; void* address; @@ -80,9 +81,11 @@ #if defined(GVDLL) __declspec(dllexport) lt_symlist_t lt_preloaded_symbols[]; #else +#if !defined(LTDL_H) extern lt_symlist_t lt_preloaded_symbols[]; #endif #endif +#endif #ifdef __cplusplus