diff --git a/include/md5.h b/include/md5.h index c8602ee14..b3ff4e145 100644 --- a/include/md5.h +++ b/include/md5.h @@ -21,10 +21,6 @@ #ifndef _MD5_H #define _MD5_H 1 -#ifdef __cplusplus -extern "C" { -#endif - #include #if defined HAVE_LIMITS_H || _LIBC @@ -76,6 +72,10 @@ typedef uintptr_t md5_uintptr; typedef unsigned long int md5_uintptr; #endif +#ifdef __cplusplus +extern "C" { +#endif + /* Structure to save state of computation between the single steps. */ struct md5_ctx {