diff options
Diffstat (limited to 'include/mysql/service_encryption.h')
-rw-r--r-- | include/mysql/service_encryption.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/include/mysql/service_encryption.h b/include/mysql/service_encryption.h index 69d205a27e8..280b9c69e35 100644 --- a/include/mysql/service_encryption.h +++ b/include/mysql/service_encryption.h @@ -24,22 +24,19 @@ *provider* (encryption plugin). */ -#ifdef __cplusplus -extern "C" { -#endif - #ifndef MYSQL_ABI_CHECK +#include <my_alloca.h> #ifdef _WIN32 -#include <malloc.h> #ifndef __cplusplus #define inline __inline #endif #else #include <stdlib.h> -#ifdef HAVE_ALLOCA_H -#include <alloca.h> #endif #endif + +#ifdef __cplusplus +extern "C" { #endif /* returned from encryption_key_get_latest_version() */ |