Return-Path: Mailing-List: contact security-cvs-help@xml.apache.org; run by ezmlm Delivered-To: mailing list security-cvs@xml.apache.org Received: (qmail 34117 invoked from network); 20 Feb 2003 10:34:24 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 20 Feb 2003 10:34:24 -0000 Received: (qmail 16379 invoked by uid 1627); 20 Feb 2003 10:34:25 -0000 Date: 20 Feb 2003 10:34:25 -0000 Message-ID: <20030220103425.16378.qmail@icarus.apache.org> From: blautenb@apache.org To: xml-security-cvs@apache.org Subject: cvs commit: xml-security/c/src/tools/txfmout txfmout.cpp X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N blautenb 2003/02/20 02:34:25 Modified: c/src/tools/checksig checksig.cpp c/src/tools/txfmout txfmout.cpp Log: Check for unistd.h Revision Changes Path 1.7 +13 -2 xml-security/c/src/tools/checksig/checksig.cpp Index: checksig.cpp =================================================================== RCS file: /home/cvs/xml-security/c/src/tools/checksig/checksig.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- checksig.cpp 18 Feb 2003 11:28:12 -0000 1.6 +++ checksig.cpp 20 Feb 2003 10:34:24 -0000 1.7 @@ -67,6 +67,9 @@ * $Id$ * * $Log$ + * Revision 1.7 2003/02/20 10:34:24 blautenb + * Check for unistd.h + * * Revision 1.6 2003/02/18 11:28:12 blautenb * Catch and clean up after Xalan exceptions * @@ -105,7 +108,15 @@ #include #include #include -#include + +#if defined(HAVE_UNISTD_H) +# include +# define _MAX_PATH NAME_MAX +#else +# if defined(HAVE_DIRECT_H) +# include +# endif +#endif #if defined (_DEBUG) && defined (_MSC_VER) #include 1.4 +15 -3 xml-security/c/src/tools/txfmout/txfmout.cpp Index: txfmout.cpp =================================================================== RCS file: /home/cvs/xml-security/c/src/tools/txfmout/txfmout.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- txfmout.cpp 17 Feb 2003 11:22:39 -0000 1.3 +++ txfmout.cpp 20 Feb 2003 10:34:24 -0000 1.4 @@ -68,6 +68,9 @@ * $Id$ * * $Log$ + * Revision 1.4 2003/02/20 10:34:24 blautenb + * Check for unistd.h + * * Revision 1.3 2003/02/17 11:22:39 blautenb * Now handle relative file URIs in references * @@ -99,7 +102,16 @@ #include #include #include -#include + +#if defined(HAVE_UNISTD_H) +# include +# define _MAX_PATH NAME_MAX +#else +# if defined(HAVE_DIRECT_H) +# include +# endif +#endif + #include #include