xapian-bridge C port

endlessm/eos-sdk#2463
Because the `#define`s in `config.h` are often used in the C file. You could for instance be testing one of them with `#ifdef` and be tricked into thinking you're executing that code while in reality it's not defined as you forgot the include.