1 diff -wpruN '--exclude=*.orig' a~/mysql_fdw.c a/mysql_fdw.c
2 --- a~/mysql_fdw.c 1970-01-01 00:00:00
3 +++ a/mysql_fdw.c 1970-01-01 00:00:00
4 @@ -355,7 +355,7 @@ static List *getUpdateTargetAttrs(RangeT
6 mysql_load_library(void)
8 -#if defined(__APPLE__) || defined(__FreeBSD__)
9 +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun)
11 * Mac OS/BSD does not support RTLD_DEEPBIND, but it still works without