-/* $Id: zebrautl.h,v 1.9 2004-08-25 09:23:36 adam Exp $
+/* $Id: zebrautl.h,v 1.11 2004-12-10 11:56:21 heikki Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
#ifndef ZEBRA_UTIL_H
#define ZEBRA_UTIL_H
-#include <yaz/yaz-util.h>
+/* Old yaz-util includes */
+#include <yaz/yconfig.h>
+#include <yaz/yaz-version.h>
+#include <yaz/xmalloc.h>
+#include <yaz/ylog.h>
+#include <yaz/tpath.h>
+#include <yaz/options.h>
+#include <yaz/wrbuf.h>
+#include <yaz/nmem.h>
+#include <yaz/readconf.h>
+#include <yaz/marcdisp.h>
+#include <yaz/yaz-iconv.h>
+
#include <idzebra/res.h>
#include <idzebra/version.h>
+/* check that we don't have all too old yaz */
+#ifndef YLOG_ERRNO
+#error Need a modern yaz with ylog.h
+#endif
+
YAZ_BEGIN_CDECL
zint atoi_zn (const char *buf, zint len);
YAZ_END_CDECL