summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-02-22 07:32:05 +0000
committerSimon Josefsson <simon@josefsson.org>2007-02-22 07:32:05 +0000
commit378ef0fd366852c3bcdbb3f410e721781fbaf66d (patch)
treeef383dcfdd5f14ee8389958a045d3347953fc34d
parentf96983c5103998bcc1935d202b3a2552102a50fd (diff)
downloadgnutls-378ef0fd366852c3bcdbb3f410e721781fbaf66d.tar.gz
Fix #include's.
-rw-r--r--src/cli.c6
-rw-r--r--src/serv.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/src/cli.c b/src/cli.c
index 20f484d3ad..7f40d238cb 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -36,6 +36,9 @@
#include <gnutls/x509.h>
#include <gnutls/openpgp.h>
+#include "error.h"
+#include "read-file.h"
+
#include "common.h"
#include "cli-gaa.h"
@@ -88,6 +91,8 @@ static gnutls_psk_client_credentials_t psk_cred;
static gnutls_anon_client_credentials_t anon_cred;
static gnutls_certificate_credentials_t xcred;
+static gaainfo info;
+
static int protocol_priority[PRI_MAX] = {
GNUTLS_TLS1_2,
GNUTLS_TLS1_1,
@@ -860,7 +865,6 @@ after_handshake:
return 0;
}
-static gaainfo info;
void
gaa_parser (int argc, char **argv)
{
diff --git a/src/serv.c b/src/serv.c
index e27188c89d..2e1d997488 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -41,6 +41,9 @@
#define select _win_select
#endif
+#include "error.h"
+#include "read-file.h"
+
#include "getaddrinfo.h"
/* konqueror cannot handle sending the page in multiple