From ebdcac80895e8d4dbeb3dfcb67fa8f5295484690 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Mon, 16 Apr 2007 21:55:53 +0000 Subject: * gpg.c, pkclist.c: #include for strcasecmp if it is present. Note that autoconf protects us against a strings.h that cannot be used together with string.h. --- g10/ChangeLog | 6 ++++++ g10/gpg.c | 7 +++++-- g10/pkclist.c | 7 +++++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/g10/ChangeLog b/g10/ChangeLog index 4790a22e0..dc043b7e2 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,9 @@ +2007-04-16 David Shaw + + * gpg.c, pkclist.c: #include for strcasecmp if it is + present. Note that autoconf protects us against a strings.h that + cannot be used together with string.h. + 2007-04-03 David Shaw * parse-packet.c (parse_marker): New. Enforce that the marker diff --git a/g10/gpg.c b/g10/gpg.c index 147c17e7b..80f252f08 100644 --- a/g10/gpg.c +++ b/g10/gpg.c @@ -1,6 +1,6 @@ /* gpg.c - The GnuPG utility (main for gpg) - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, - * 2006 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, + * 2007 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -25,6 +25,9 @@ #include #include #include +#ifdef HAVE_STRINGS_H +#include +#endif #include #include #include diff --git a/g10/pkclist.c b/g10/pkclist.c index 4c0ffd779..0d99c6d6d 100644 --- a/g10/pkclist.c +++ b/g10/pkclist.c @@ -1,6 +1,6 @@ /* pkclist.c - * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, - * 2006 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, + * 2007 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -24,6 +24,9 @@ #include #include #include +#ifdef HAVE_STRINGS_H +#include +#endif #include #include -- cgit v1.2.3