X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcsvtodiag.tcl;h=6dcd1be4986c28dbda69a4351cd37cde15a4a71f;hp=3124ba983398031b4cb56f054a3b35ccc4f12fd1;hb=bc2c68cf9316d95c5b00444aaaa2f0a6127c1aa9;hpb=d940392c53c32ccf76fb287cc5b997b9e921a431 diff --git a/src/csvtodiag.tcl b/src/csvtodiag.tcl index 3124ba9..6dcd1be 100644 --- a/src/csvtodiag.tcl +++ b/src/csvtodiag.tcl @@ -1,5 +1,5 @@ # This file is part of the YAZ toolkit -# Copyright (c) Index Data 1996-2007 +# Copyright (C) Index Data # See the file LICENSE for details. # # @@ -20,6 +20,10 @@ proc csvtodiag {ifiles name alias} { puts $hfile "/** \\file [lindex $ifiles 2]" set preamble " \\brief Diagnostics: Generated by csvtodiag.tcl from [lindex $ifiles 0] */" puts $cfile $preamble + puts $cfile "\#ifdef HAVE_CONFIG_H" + puts $cfile "\#include " + puts $cfile "\#endif" + puts $cfile " #include \"diag-entry.h\" \#include \"[lindex $ifiles 2]\"