Added proper header for reader record utilities for yaz-ztest.
[yaz-moved-to-github.git] / ztest / read-grs.c
index ed806cf..f1f40f3 100644 (file)
@@ -3,8 +3,8 @@
  * See the file LICENSE for details.
  */
 
-/*
- * Little toy-thing to read a GRS-1 records from a file.
+/** \file
+ * \brief Little toy-thing to read GRS-1 records from a file.
  */
 
 #include <stdio.h>
@@ -14,6 +14,8 @@
 #include <yaz/proto.h>
 #include <yaz/log.h>
 
+#include "ztest.h"
+
 #define GRS_MAX_FIELDS 50
 
 static Z_GenericRecord *read_grs1(FILE *f, ODR o)