Browse code

Make openvpn-plugin.h self-contained again.

2.4.2 introduced a declaration that references size_t, so use the C99
way of declaring it, and add #include <stddef.h>.

Note this may break on non-C99-compliant versions of MS Visual Studio.

Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1494884925-12539-1-git-send-email-matthias.andree@gmx.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14658.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>

Matthias Andree authored on 2017/05/16 06:48:45
Showing 1 changed files
... ...
@@ -44,6 +44,7 @@ typedef X509 openvpn_x509_cert_t;
44 44
 #endif
45 45
 
46 46
 #include <stdarg.h>
47
+#include <stddef.h>
47 48
 
48 49
 #ifdef __cplusplus
49 50
 extern "C" {