X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fgdu.cpp;h=fb872517a233dd92dd5b81d02fb6308a3cbef6e4;hb=6fbe632bc43d693756170e5b799c942d6abbf883;hp=10860cf245ab352d0b7e35efc76a5c1fe3cc2006;hpb=f9728dc910413e30b7fe33c043b78d3736859ab4;p=yazpp-moved-to-github.git diff --git a/src/gdu.cpp b/src/gdu.cpp index 10860cf..fb87251 100644 --- a/src/gdu.cpp +++ b/src/gdu.cpp @@ -1,8 +1,11 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2009 Index Data and Mike Taylor + * Copyright (C) 1998-2013 Index Data and Mike Taylor * See the file LICENSE for details. */ +#if HAVE_CONFIG_H +#include +#endif #include using namespace yazpp_1; @@ -39,7 +42,7 @@ void GDU::base(Z_GDU *gdu, ODR encode) { int len; char *buf = odr_getbuf(encode, &len, 0); - + odr_setbuf(m_decode, buf, len, 0); z_GDU(m_decode, &m_gdu, 0, 0); }