[25784] in CVS-changelog-for-Kerberos-V5
svn rev #25274: trunk/src/ util/support/
daemon@ATHENA.MIT.EDU (hartmans@mit.edu)
Wed Sep 28 16:59:59 2011
Date: Wed, 28 Sep 2011 16:59:42 -0400
From: hartmans@mit.edu
Message-Id: <201109282059.p8SKxgwC019174@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
http://src.mit.edu/fisheye/changelog/krb5/?cs=25274
Commit By: hartmans
Log Message:
Windows fix: add sys/cdefs.h to AC_CHECK_HEADERS and use guard macro
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
Changed Files:
U trunk/src/configure.in
U trunk/src/util/support/fnmatch.c
Modified: trunk/src/configure.in
===================================================================
--- trunk/src/configure.in 2011-09-28 20:57:53 UTC (rev 25273)
+++ trunk/src/configure.in 2011-09-28 20:59:42 UTC (rev 25274)
@@ -797,7 +797,7 @@
rpcent_define='#define STRUCT_RPCENT_IN_RPC_NETDB_H'])
AC_SUBST(rpcent_define)
-AC_CHECK_HEADERS(sys/select.h sys/time.h unistd.h)
+AC_CHECK_HEADERS(sys/select.h sys/time.h unistd.h sys/cdefs.h)
if test $ac_cv_header_sys_select_h = yes; then
GSSRPC__SYS_SELECT_H='#include <sys/select.h>'
else
Modified: trunk/src/util/support/fnmatch.c
===================================================================
--- trunk/src/util/support/fnmatch.c 2011-09-28 20:57:53 UTC (rev 25273)
+++ trunk/src/util/support/fnmatch.c 2011-09-28 20:59:42 UTC (rev 25274)
@@ -31,8 +31,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-
+#ifdef HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
+#endif
#if defined(LIBC_SCCS) && !defined(lint)
#if 0
static char sccsid[] = "@(#)fnmatch.c 8.2 (Berkeley) 4/16/94";
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5