From: Adam Dickmeiss Date: Sun, 16 Jan 2005 21:50:25 +0000 (+0000) Subject: Added configure check for headers pwd.h sys/wait.h X-Git-Tag: YAZPROXY.0.9~11 X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=commitdiff_plain;h=daae372cfd8598627aa3c31db44e735d4d78ec81 Added configure check for headers pwd.h sys/wait.h --- diff --git a/configure.in b/configure.in index c7bf985..98c811d 100644 --- a/configure.in +++ b/configure.in @@ -16,7 +16,7 @@ YAZ_DOC USEMARCON_INIT AC_CHECK_FUNCS(setrlimit getrlimit gettimeofday) -AC_CHECK_HEADERS(sys/time.h unistd.h sys/types.h sys/stat.h sys/resource.h) +AC_CHECK_HEADERS(pwd.h sys/resource.h sys/stat.h sys/time.h sys/types.h sys/wait.h unistd.h) dnl dnl ----- libXSLT AC_SUBST(XSLT_LIBS) diff --git a/src/yaz-proxy-main.cpp b/src/yaz-proxy-main.cpp index 70d8eeb..a707e7c 100644 --- a/src/yaz-proxy-main.cpp +++ b/src/yaz-proxy-main.cpp @@ -1,4 +1,4 @@ -/* $Id: yaz-proxy-main.cpp,v 1.8 2005-01-11 20:50:28 adam Exp $ +/* $Id: yaz-proxy-main.cpp,v 1.9 2005-01-16 21:50:25 adam Exp $ Copyright (c) 1998-2005, Index Data. This file is part of the yaz-proxy. @@ -29,11 +29,15 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #if HAVE_SYS_TIME_H #include #endif +#if HAVE_SYS_WAIT_H +#include +#endif #if HAVE_SYS_RESOURCE_H #include #endif - +#if HAVE_PWD_H #include +#endif #include