]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Make openvpn-plugin.h self-contained again.
authorMatthias Andree <matthias.andree@gmx.de>
Mon, 15 May 2017 21:48:45 +0000 (23:48 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 18 May 2017 10:53:25 +0000 (12:53 +0200)
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>
include/openvpn-plugin.h.in

index 5e6f874375e2d8d05445fc3be59b99da35765018..aa71b49746112ef4c0f3e2000afc77b3f2c2899e 100644 (file)
@@ -44,6 +44,7 @@ typedef X509 openvpn_x509_cert_t;
 #endif
 
 #include <stdarg.h>
+#include <stddef.h>
 
 #ifdef __cplusplus
 extern "C" {