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.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/standard/crypt_freesec.h b/ext/standard/crypt_freesec.h
index 0cbecacbdc..d04220f297 100644
--- a/ext/standard/crypt_freesec.h
+++ b/ext/standard/crypt_freesec.h
@@ -6,8 +6,14 @@
#if PHP_WIN32
# include "win32/php_stdint.h"
-#elif HAVE_STDINT_H
+#else
+# include "php_config.h"
+# if HAVE_STDINT_H
# include <stdint.h>
+# endif
+# ifndef HAVE_U_INT32_T
+ typedef uint32_t u_int32_t;
+# endif
#endif
#if !PHP_WIN32
# ifndef HAVE_U_INT32_T