summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-06-18 22:55:35 +0200
committerSimon Josefsson <simon@josefsson.org>2008-06-19 12:35:00 +0200
commita15e4e2283e7bd0af042745ea0e9f660c5061988 (patch)
tree4056d68e496d30d927e4f8dc7b4ef917efb55e49
parent1ad85eddd26638b0a17f90f0e70ba2322a1f671b (diff)
downloadgnutls-a15e4e2283e7bd0af042745ea0e9f660c5061988.tar.gz
Fix warning regarding undeclared getpass replacement.
Reported by Massimo Gaspari <massimo.gaspari@alice.it> in <http://permalink.gmane.org/gmane.network.gnutls.general/1281>.
-rw-r--r--src/cli.c1
-rw-r--r--src/psk.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/cli.c b/src/cli.c
index 27ab867191..c5da21e928 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -39,6 +39,7 @@
#include "error.h"
#include "read-file.h"
+#include "getpass.h"
#include "common.h"
#include "cli-gaa.h"
diff --git a/src/psk.c b/src/psk.c
index bb3501f1d9..d4bc5ea1fe 100644
--- a/src/psk.c
+++ b/src/psk.c
@@ -49,6 +49,7 @@ psktool_version (void)
#include <psk-gaa.h>
#include <gc.h> /* for randomize */
+#include "getpass.h"
#include <sys/types.h>
#include <sys/stat.h>