[PATCH ocserv] Add missing GnuTLS header file
Kevin Cernekee
cernekee at gmail.com
Tue May 20 20:23:43 PDT 2014
sec-mod.h now uses gnutls_privkey_t, so include <gnutls/abstract.h> to
fix this error:
CC main-misc.o
In file included from main-misc.c:43:0:
./sec-mod.h:31:2: error: unknown type name ‘gnutls_privkey_t’
gnutls_privkey_t *key;
^
---
src/sec-mod.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/sec-mod.h b/src/sec-mod.h
index 14d3916..86487d4 100644
--- a/src/sec-mod.h
+++ b/src/sec-mod.h
@@ -21,6 +21,7 @@
#ifndef SEC_MOD_H
#include <cookies.h>
+#include <gnutls/abstract.h>
typedef struct sec_mod_st {
gnutls_datum_t dcookie_key; /* the key to generate cookies */
--
1.8.2.1
More information about the openconnect-devel
mailing list