summaryrefslogtreecommitdiff
path: root/ext/standard/crypt_freesec.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-08-23 20:42:18 +0000
committerPierre Joye <pajoye@php.net>2008-08-23 20:42:18 +0000
commit37a37d8743c27d93408f9581180d2a9ec3c33b9f (patch)
treef2c0741c6cdb8e7aad826991530aab7a86473e88 /ext/standard/crypt_freesec.h
parent8b952208ecbf11aa007a59055ac9fb4da2540599 (diff)
downloadphp-git-37a37d8743c27d93408f9581180d2a9ec3c33b9f.tar.gz
- MFB: fix build (common inline definition will be done later)
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