X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzgdu.c;h=18ce71d2467ba59e569aafffaba8202b1d99f1a9;hp=d6c2dc7e22f7017e5a4b01131d3597237d0f04b7;hb=0e7fdbc857d4905e67a7bdf8fe5b6c773ee47a7b;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c diff --git a/src/zgdu.c b/src/zgdu.c index d6c2dc7..18ce71d 100644 --- a/src/zgdu.c +++ b/src/zgdu.c @@ -1,18 +1,20 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ - /** * \file zgdu.c * \brief Implements HTTP and Z39.50 encoding and decoding. */ +#if HAVE_CONFIG_H +#include +#endif #include #include #include -int z_GDU (ODR o, Z_GDU **p, int opt, const char *name) +int z_GDU(ODR o, Z_GDU **p, int opt, const char *name) { if (o->direction == ODR_DECODE) { *p = (Z_GDU *) odr_malloc(o, sizeof(**p));