summaryrefslogtreecommitdiff
path: root/ext/standard/crypt_freesec.h
diff options
context:
space:
mode:
authorArnaud Le Blanc <lbarnaud@php.net>2008-08-23 13:57:19 +0000
committerArnaud Le Blanc <lbarnaud@php.net>2008-08-23 13:57:19 +0000
commit569ea282078741d443ae16f899a3df89fa8e1210 (patch)
tree2488dd098f183bc7da288e657f4e7d2f9865f7ab /ext/standard/crypt_freesec.h
parent9d5ab6e54f4d0772400e39bfd906987f4ee22ab6 (diff)
downloadphp-git-569ea282078741d443ae16f899a3df89fa8e1210.tar.gz
MFH: Fix build on solaris
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