diff options
author | David Shaw <[email protected]> | 2007-04-16 21:55:53 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2007-04-16 21:55:53 +0000 |
commit | ebdcac80895e8d4dbeb3dfcb67fa8f5295484690 (patch) | |
tree | b4ec759556c6321c354aa6cef9f1abbf7eb37f0a | |
parent | util/ (diff) | |
download | gnupg-ebdcac80895e8d4dbeb3dfcb67fa8f5295484690.tar.gz gnupg-ebdcac80895e8d4dbeb3dfcb67fa8f5295484690.zip |
* gpg.c, pkclist.c: #include <strings.h> for strcasecmp if it is
present. Note that autoconf protects us against a strings.h that
cannot be used together with string.h.
-rw-r--r-- | g10/ChangeLog | 6 | ||||
-rw-r--r-- | g10/gpg.c | 7 | ||||
-rw-r--r-- | 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 <[email protected]> + + * gpg.c, pkclist.c: #include <strings.h> 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 <[email protected]> * parse-packet.c (parse_marker): New. Enforce that the marker @@ -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 <stdio.h> #include <stdlib.h> #include <string.h> +#ifdef HAVE_STRINGS_H +#include <strings.h> +#endif #include <ctype.h> #include <unistd.h> #include <assert.h> 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 <stdio.h> #include <stdlib.h> #include <string.h> +#ifdef HAVE_STRINGS_H +#include <strings.h> +#endif #include <errno.h> #include <assert.h> |