summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-04-17 09:52:08 +0200
committerSimon Josefsson <simon@josefsson.org>2009-04-17 09:52:08 +0200
commit2c56f05b51aed8c5ae64cf414ac58521598b22f2 (patch)
tree95aae495cd4279e6b5379c64375511e901465536
parent0fa71d217b362dd1fc3eddb572e8911972ce530d (diff)
downloadgnutls-2c56f05b51aed8c5ae64cf414ac58521598b22f2.tar.gz
gnutls-cli, gnutls-cli-debug: Fix AIX getaddrinfo problem.
Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
-rw-r--r--NEWS4
-rw-r--r--src/cli.c4
-rw-r--r--src/tls_test.c4
3 files changed, 10 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index aa70b7ff43..b65677178f 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,10 @@ See the end for copying conditions.
* Version 2.6.6 (unreleased)
+** gnutls-cli, gnutls-cli-debug: Fix AIX getaddrinfo problem.
+Reported by LAUPRETRE François (P) <francois.laupretre@ratp.fr> in
+<http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3468>.
+
** tests: Fix linking of tests/openpgp/keyring self-test.
Reported by Daniel Black in <https://savannah.gnu.org/support/?106543>.
diff --git a/src/cli.c b/src/cli.c
index 9a61115cc3..50caba7ab9 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation
+ * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation
* Copyright (C) 2000,2001,2002,2003 Nikos Mavrogiannopoulos
*
* This file is part of GNUTLS.
@@ -45,6 +45,8 @@
#include "read-file.h"
#include "getpass.h"
+#include "getaddrinfo.h"
+
#include "common.h"
#include "cli-gaa.h"
diff --git a/src/tls_test.c b/src/tls_test.c
index 0f5d50151e..fae096a2b7 100644
--- a/src/tls_test.c
+++ b/src/tls_test.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000,2001,2002,2003,2006,2007,2008 Nikos Mavrogiannopoulos
+ * Copyright (C) 2000,2001,2002,2003,2006,2007,2008,2009 Nikos Mavrogiannopoulos
* Copyright (C) 2004,2005, 2008 Free Software Foundation
*
* This file is part of GNUTLS.
@@ -34,6 +34,8 @@
#include <version-etc.h>
+#include "getaddrinfo.h"
+
#define SA struct sockaddr
#define ERR(err,s) if (err==-1) {perror(s);return(1);}
#define MAX_BUF 4096