X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzgdu.c;h=61f93b021596e4606c0a4a90206574c5b2e2e7dc;hp=22c594c27e23868fd7ed70ec3c9017f6e6e6b0f3;hb=c21a01f2a1dfff7f62636b251d4d129a9f0fbeec;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755 diff --git a/src/zgdu.c b/src/zgdu.c index 22c594c..61f93b0 100644 --- a/src/zgdu.c +++ b/src/zgdu.c @@ -2,17 +2,19 @@ * Copyright (C) 1995-2010 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));