summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-06-17 16:20:04 +0000
committerFelipe Pena <felipe@php.net>2009-06-17 16:20:04 +0000
commit219c2603bb7a13c64a9cd1d5a741b32ea0af7801 (patch)
tree95771ae373a4d082025fe6077dbabae921970255
parent3e58e86d01e4a4fc55c2cf48cc50b5dfa2a7a68a (diff)
downloadphp-git-219c2603bb7a13c64a9cd1d5a741b32ea0af7801.tar.gz
- MFH: Fixed bug #48578 (Can't build 5.3 on FBSD 4.11) (Rasmus)
-rw-r--r--ext/fileinfo/libmagic/cdf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/fileinfo/libmagic/cdf.c b/ext/fileinfo/libmagic/cdf.c
index e6de7e1e0b..eecfa1e452 100644
--- a/ext/fileinfo/libmagic/cdf.c
+++ b/ext/fileinfo/libmagic/cdf.c
@@ -47,6 +47,10 @@ FILE_RCSID("@(#)$File: cdf.c,v 1.17 2009/02/03 20:27:51 christos Exp $")
#include <unistd.h>
#endif
+#ifndef UINT32_MAX
+# define UINT32_MAX (0xffffffff)
+#endif
+
#include <string.h>
#include <time.h>
#include <ctype.h>