Make openvpn-plugin.h self-contained again.
PATCH 1/1 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 <[email protected]...>
--- include/openvpn-plugin.h.in | 1 + 1 file changed, 1 insertion(+)
include/openvpn-plugin.h.in +1 -0
@@ -44,6 +44,7 @@ typedef X509 openvpn_x509_cert_t; #endif #include <stdarg.h> +#include <stddef.h> #ifdef __cplusplus extern "C" {
Signature · 1 line
2.7.4
ACK, thanks. Tested standalone compilation before/after.
Your patch has been applied to the master and release/2.4 branch.
commit cf9deedf425c945906d5cc482fb962796d21f123 (master) commit 37b3409681ee04b7cb7c246a7fd701a883e582e2 (release/2.4)
Author: Matthias Andree Date: Mon May 15 23:48:45 2017 +0200
Make openvpn-plugin.h self-contained again.
Signed-off-by: Matthias Andree <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg14658.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering