From 4330299f1b75ab052b9f9475b59f75a5f6c53394 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 16 Jan 2005 23:13:29 +0000 Subject: [PATCH] Add include stdlib.h to get abort/exit/atoi.. --- data1/d1_doespec.c | 3 ++- index/apitest.c | 6 ++---- index/recindex.c | 3 ++- index/zserver.c | 5 +++-- isam/physical.c | 3 ++- isamb/isamb.c | 3 ++- recctrl/grsread.h | 4 +++- util/charmap.c | 3 ++- util/zebramap.c | 5 ++--- 9 files changed, 20 insertions(+), 15 deletions(-) diff --git a/data1/d1_doespec.c b/data1/d1_doespec.c index d1cb8f3..5fe04ea 100644 --- a/data1/d1_doespec.c +++ b/data1/d1_doespec.c @@ -1,4 +1,4 @@ -/* $Id: d1_doespec.c,v 1.2 2002-10-22 13:19:50 adam Exp $ +/* $Id: d1_doespec.c,v 1.2.2.1 2005-01-16 23:13:29 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -21,6 +21,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA */ #include +#include #include #include diff --git a/index/apitest.c b/index/apitest.c index 38720ea..ee5fd8c 100644 --- a/index/apitest.c +++ b/index/apitest.c @@ -1,4 +1,4 @@ -/* $Id: apitest.c,v 1.16 2004-07-28 08:15:45 adam Exp $ +/* $Id: apitest.c,v 1.16.2.1 2005-01-16 23:13:29 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -20,10 +20,8 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - - +#include #include - #include #include #include "zebraapi.h" diff --git a/index/recindex.c b/index/recindex.c index d15a15b..42bce97 100644 --- a/index/recindex.c +++ b/index/recindex.c @@ -1,4 +1,4 @@ -/* $Id: recindex.c,v 1.34.2.1 2004-08-18 16:17:13 adam Exp $ +/* $Id: recindex.c,v 1.34.2.2 2005-01-16 23:13:29 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -38,6 +38,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA * (length, data) - pairs * length = 0 if same as previous */ +#include #include #include #include diff --git a/index/zserver.c b/index/zserver.c index df9b589..b727e71 100644 --- a/index/zserver.c +++ b/index/zserver.c @@ -1,4 +1,4 @@ -/* $Id: zserver.c,v 1.117.2.1 2004-08-13 09:56:29 adam Exp $ +/* $Id: zserver.c,v 1.117.2.2 2005-01-16 23:13:29 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -20,6 +20,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include #include #include #include @@ -712,7 +713,7 @@ static void bend_start (struct statserv_options_block *sob) if (!sob->handle) { yaz_log (LOG_FATAL, "Failed to read config `%s'", sob->configname); - exit (1); + exit(1); } #ifdef WIN32 diff --git a/isam/physical.c b/isam/physical.c index 48b04c5..4075c02 100644 --- a/isam/physical.c +++ b/isam/physical.c @@ -1,4 +1,4 @@ -/* $Id: physical.c,v 1.18 2002-08-02 19:26:56 adam Exp $ +/* $Id: physical.c,v 1.18.2.1 2005-01-16 23:13:30 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -29,6 +29,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include #include +#include #include #include diff --git a/isamb/isamb.c b/isamb/isamb.c index 0418da0..9dbd406 100644 --- a/isamb/isamb.c +++ b/isamb/isamb.c @@ -1,4 +1,4 @@ -/* $Id: isamb.c,v 1.47.2.3 2004-11-10 21:20:03 adam Exp $ +/* $Id: isamb.c,v 1.47.2.4 2005-01-16 23:13:30 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -21,6 +21,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA */ #include +#include #include #include #include diff --git a/recctrl/grsread.h b/recctrl/grsread.h index 480e1dd..bc55db0 100644 --- a/recctrl/grsread.h +++ b/recctrl/grsread.h @@ -1,4 +1,4 @@ -/* $Id: grsread.h,v 1.14 2004-05-21 11:58:56 adam Exp $ +/* $Id: grsread.h,v 1.14.2.1 2005-01-16 23:13:31 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -25,6 +25,8 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #ifndef GRSREAD_H #define GRSREAD_H +#include +#include #include #ifdef __cplusplus diff --git a/util/charmap.c b/util/charmap.c index b2e8ed3..6510159 100644 --- a/util/charmap.c +++ b/util/charmap.c @@ -1,4 +1,4 @@ -/* $Id: charmap.c,v 1.29.2.3 2004-11-26 11:06:13 adam Exp $ +/* $Id: charmap.c,v 1.29.2.4 2005-01-16 23:13:31 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -28,6 +28,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA */ #include +#include #include #include diff --git a/util/zebramap.c b/util/zebramap.c index 7b38b04..8fad5e1 100644 --- a/util/zebramap.c +++ b/util/zebramap.c @@ -1,4 +1,4 @@ -/* $Id: zebramap.c,v 1.32.2.2 2004-11-26 11:06:13 adam Exp $ +/* $Id: zebramap.c,v 1.32.2.3 2005-01-16 23:13:32 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -20,8 +20,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - - +#include #include #include -- 1.7.10.4