extension-functions.c: Errors when compiling sqlite as seperate source files

Issue #6 resolved
Carlin Desautels
created an issue

When integrating xerial's extension file into sqlite's canonical build system, there are undefined type errors due to a missing header include. This is a result of not using SQLite amalgamation.

Here is a snippet from compiling sqlite source tree on fedora 17 {{{ extension-functions.c:223:1: error: unknown type name 'u8' extension-functions.c: In function 'squareFunc': extension-functions.c:494:3: error: unknown type name 'i64' extension-functions.c: In function 'signFunc': extension-functions.c:571:3: error: unknown type name 'i64' extension-functions.c: In function 'ceilFunc' extension-functions.c:601:3: error: unknown type name 'i64' extension-functions.c:605:7: error: unknown type name 'i64' extension-functions.c:615:38: error: 'i64' undeclared (first use in this function) extension-functions.c:615:38: note: each undeclared identifier is reported only once for each function it appears in ...

}}}