summaryrefslogtreecommitdiff
path: root/ext/standard/crypt_freesec.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/crypt_freesec.h')
-rw-r--r--ext/standard/crypt_freesec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/standard/crypt_freesec.h b/ext/standard/crypt_freesec.h
index f64ad2fcf0..0cbecacbdc 100644
--- a/ext/standard/crypt_freesec.h
+++ b/ext/standard/crypt_freesec.h
@@ -2,11 +2,18 @@
#ifndef _CRYPT_FREESEC_H
#define _CRYPT_FREESEC_H
+#include "php_config.h"
+
#if PHP_WIN32
# include "win32/php_stdint.h"
#elif HAVE_STDINT_H
# include <stdint.h>
#endif
+#if !PHP_WIN32
+# ifndef HAVE_U_INT32_T
+ typedef uint32_t u_int32_t;
+# endif
+#endif
#define MD5_HASH_MAX_LEN 120