-/* $Id: zserver.c,v 1.135 2005-06-13 10:29:20 adam Exp $
+/* $Id: zserver.c,v 1.137 2005-06-22 19:42:38 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
#include <io.h>
#include <process.h>
#include <sys/locking.h>
-#else
+#endif
+#if HAVE_UNISTD_H
#include <unistd.h>
#endif
size_t len = sizeof(outbuf);
zebra_result_set_term_info(zh, r->setname, i,
- &count, &approx, outbuf, &len);
+ &count, &approx, outbuf, &len,
+ 0 /* term_ref_id */ );
sr->elements[i] = odr_malloc (r->stream, sizeof(**sr->elements));
sr->elements[i]->subqueryId = 0;