I believe this is already fixed in trunk (but not released).
The fix is just to use include guards around the header #include and also
around the load_XL() function.
Here is an example:
#ifndef OMIT_FREEXL
#include <freexl.h>
#endif
Note that you also need to do this around load_XL()
You could also just clone from fossil until the next release.
Brad
This is the change that addressed it:
https://www.gaia-gis.it/fossil/libspatialite/info/3d39e95bc2
Brad
On Sunday 26 February 2012 07:49:00 Milo van der Linden wrote:
Thanks for the report.I believe this is already fixed in trunk (but not released).