X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Foidtoc.tcl;h=2e72d033a177d3b305b68bdd9f7d599f708f196a;hp=87443e16253a69c01136072553f66627e99aaa75;hb=d51b21c6f41a021f21078921a0de50106264d55e;hpb=fc9ef9d18c52b651a6994b34d1a6c37640dfaef2 diff --git a/src/oidtoc.tcl b/src/oidtoc.tcl index 87443e1..2e72d03 100644 --- a/src/oidtoc.tcl +++ b/src/oidtoc.tcl @@ -1,8 +1,7 @@ # This file is part of the YAZ toolkit -# Copyright (c) Index Data 2006-2007 +# Copyright (C) Index Data # See the file LICENSE for details. # -# $Id: oidtoc.tcl,v 1.8 2007-05-31 12:14:02 adam Exp $ # # Converts a CSV file with Object identifiers to C @@ -110,6 +109,10 @@ proc oid_to_c {srcdir input cname hname} { puts $hfile "\#ifndef OID_STD_H" puts $hfile "\#define OID_STD_H" + puts $cfile "\#if HAVE_CONFIG_H" + puts $cfile "\#include " + puts $cfile "\#endif" + puts $cfile "\#include " puts $cfile "" # To avoid LNK4049