On Sat, 2009-08-01 at 09:42 +0200, Ruediger Pluem wrote: > Shouldn't this be > > #include <mysql/my_sys.h> > > instead above?
It should, but even with that change, it breaks here on Fedora 11: ------------------------ In file included from dbd/apr_dbd_mysql.c:38: /usr/include/mysql/my_global.h:648: error: redefinition of typedef ‘my_socket’ /usr/include/mysql/mysql.h:65: note: previous declaration of ‘my_socket’ was here /usr/include/mysql/my_global.h:1019: error: redefinition of typedef ‘my_ulonglong’ /usr/include/mysql/mysql.h:128: note: previous declaration of ‘my_ulonglong’ was here /usr/include/mysql/my_global.h:1084: error: redefinition of typedef ‘my_bool’ /usr/include/mysql/mysql.h:51: note: previous declaration of ‘my_bool’ was here make[1]: *** [dbd/apr_dbd_mysql.lo] Error 1 make[1]: Leaving directory `/home/groups/devel/apr/run/apr-util' make: *** [all-recursive] Error 1 ------------------------ I don't know if I'm doing something unbelievably stupid here, but it seems to me that this commit broke the build on Linux. -- Bojan
