X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fgdu.cpp;h=d84a45e5d12d590d686d37d1dbb01026dfce1a58;hb=53d173adf3fb13f5fd25a7b02f339e2731d8a834;hp=f6e059435bfba7d7ae92e0f35fce679ef75af9f2;hpb=d53e0ff85ad63de947da013a0d25a434d12eed40;p=yazpp-moved-to-github.git diff --git a/src/gdu.cpp b/src/gdu.cpp index f6e0594..d84a45e 100644 --- a/src/gdu.cpp +++ b/src/gdu.cpp @@ -1,8 +1,11 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2010 Index Data and Mike Taylor + * Copyright (C) 1998-2012 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); }