X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Fclient.c;h=a79c51c0480aa892e92dcb34d3ee8be171de2bfa;hb=d35622cea47fdf58f47d31023e28e49eaf1ecb47;hp=173db4e115314e6a2fcb9218145cc46a24f4d9f1;hpb=672bc1d4d13f12c0d291b0cff62be84fbe69f961;p=yaz-moved-to-github.git diff --git a/client/client.c b/client/client.c index 173db4e..a79c51c 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2004, Index Data * See the file LICENSE for details. * - * $Id: client.c,v 1.262 2004-12-21 20:25:39 adam Exp $ + * $Id: client.c,v 1.264 2005-01-02 20:31:39 adam Exp $ */ #include @@ -32,6 +32,8 @@ #include #define S_ISREG(x) (x & _S_IFREG) #define S_ISDIR(x) (x & _S_IFDIR) +#else +#include #endif #include @@ -55,7 +57,6 @@ #if HAVE_READLINE_READLINE_H #include -#include #endif #if HAVE_READLINE_HISTORY_H #include @@ -104,7 +105,7 @@ static char *esPackageName = 0; static char *yazProxy = 0; static int kilobytes = 1024; static char *negotiationCharset = 0; -static char negotiationCharsetRecords = 1; +static int negotiationCharsetRecords = 1; static int negotiationCharsetVersion = 3; static char *outputCharset = 0; static char *marcCharset = 0;