#include <stdio.h>
-#include <odr.h>
-#include <odr_use.h>
-#include <proto.h>
+#include <yaz/odr.h>
+#include <yaz/odr_use.h>
+#include <yaz/proto.h>
int main()
{
apt.num_attributes=0;
apt.attributeList = 0;
apt.term = &term;
- term.buf = "BARFOO";
- term.len = term.size = strlen(term.buf);
+ term.buf = (unsigned char*) "BARFOO";
+ term.len = term.size = strlen((char*)term.buf);
o.buf = buf;
o.bp=o.buf;