[PATCH ocserv] Add missing GnuTLS header file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux