]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Use getpass.h (from gnulib). Patch by LRN.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 10 Apr 2011 07:10:22 +0000 (09:10 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 10 Apr 2011 07:10:22 +0000 (09:10 +0200)
doc/examples/ex-cert-select-pkcs11.c
src/common.c
src/pkcs11.c

index 4177618f8b1841064f35e231c01c093bbf590d96..0bd032bf423d7c74a38d1803ef99aba55a6b1bf5 100644 (file)
@@ -4,6 +4,8 @@
 #include <config.h>
 #endif
 
+#include <getpass.h>
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 286b9564c4e5f3bd08aff1f74d5945eb4cb9ab59..3115404051a877699a326d605e753e3a43c31712 100644 (file)
@@ -27,6 +27,8 @@
 #undef localtime
 #endif
 
+#include <getpass.h>
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index cab837a99433606fde863774ef0fddb5b355bcef..c422ec736b187dfc0e64fce4a263328a818be033 100644 (file)
@@ -19,6 +19,8 @@
  */
 #include <config.h>
 
+#include <getpass.h>
+
 #include <gnutls/gnutls.h>
 #include <gnutls/extra.h>
 #include <gnutls/pkcs11.h>