On Tue, 2011-11-08 at 15:19 -0800, Steve Ellcey wrote: > Thanks, changing the order of the includes in this file (putting > ZLIB_INCLUDE_DIR last) fixed that problem. Now I die when compiling > storage/sphinx/ha_sphinx.cc. That file calls localtime_r but it doesn't > seem to include <time.h> where localtime_r is declared, so the C++ > compiler dies with: > > 5.5/storage/sphinx/ha_sphinx.cc:911:34: error: 'localtime_r' was not > declared in this scope > > I am not sure if time.h should be included directly in this file or if > one it's includes (my_sys.h or something) should be including time.h. > > Steve Ellcey > s...@cup.hp.com
Woops, following up to my own email, it looks like time.h is getting included it is just that we aren't defining _REENTRENT so we don't see the definition from time.h. I am not sure if this is a mariadb issue or an HP-UX issue. I will investigate it some more. Steve Ellcey s...@cup.hp.com _______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : maria-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp