diff --git a/ext/standard/md5.c b/ext/standard/md5.c index 899ff6aaeec..b7cff21d024 100644 --- a/ext/standard/md5.c +++ b/ext/standard/md5.c @@ -16,7 +16,6 @@ +----------------------------------------------------------------------+ */ -#include "php.h" #include "md5.h" PHPAPI void make_digest(char *md5str, const unsigned char *digest) /* {{{ */ diff --git a/ext/standard/md5.h b/ext/standard/md5.h index 0003a934be6..5814142f196 100644 --- a/ext/standard/md5.h +++ b/ext/standard/md5.h @@ -18,6 +18,10 @@ #ifndef MD5_H #define MD5_H +#include "php.h" // for PHPAPI + +#include + PHPAPI void make_digest(char *md5str, const unsigned char *digest); PHPAPI void make_digest_ex(char *md5str, const unsigned char *digest, int len);