Index: expat-2.1.1/lib/expat_external.h =================================================================== --- expat-2.1.1.orig/lib/expat_external.h +++ expat-2.1.1/lib/expat_external.h @@ -66,9 +66,8 @@ #endif /* not defined XML_STATIC */ -/* If we didn't define it above, define it away: */ #ifndef XMLIMPORT -#define XMLIMPORT +#define XMLIMPORT __attribute__ ((visibility ("default"))) #endif