error.h depends on these, but is apparently never used by files that do
not include them.  When implementing the --tls-crypt unit tests, I ran
into this.

Signed-off-by: Steffan Karger <steffan.kar...@fox-it.com>
---
 src/openvpn/error.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/openvpn/error.h b/src/openvpn/error.h
index ced2fdf..1d791bb 100644
--- a/src/openvpn/error.h
+++ b/src/openvpn/error.h
@@ -27,6 +27,9 @@
 
 #include "basic.h"
 
+#include <errno.h>
+#include <stdbool.h>
+
 /* #define ABORT_ON_ERROR */
 
 #ifdef ENABLE_PKCS11
-- 
2.7.4


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to