X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Foidtoc.tcl;h=2e72d033a177d3b305b68bdd9f7d599f708f196a;hp=314a0d93017d32216f7881be107390e5ba32377a;hb=cf91f233d0e16ed6920d84ce2d871eed90d3491b;hpb=d940392c53c32ccf76fb287cc5b997b9e921a431 diff --git a/src/oidtoc.tcl b/src/oidtoc.tcl index 314a0d9..2e72d03 100644 --- a/src/oidtoc.tcl +++ b/src/oidtoc.tcl @@ -1,5 +1,5 @@ # This file is part of the YAZ toolkit -# Copyright (c) Index Data 2006-2007 +# Copyright (C) Index Data # See the file LICENSE for details. # # @@ -109,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