summaryrefslogtreecommitdiff
path: root/main/mergesort.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>1999-10-16 10:14:47 +0000
committerAndi Gutmans <andi@php.net>1999-10-16 10:14:47 +0000
commitad84f02efbbcf165f5e24770c0dfa1674442406a (patch)
tree7eba00475d7ca5a084b1b77e2d1e14342ba2547d /main/mergesort.c
parente74d81f2eddd6f44d047c073e4128742ca63aa61 (diff)
downloadphp-git-ad84f02efbbcf165f5e24770c0dfa1674442406a.tar.gz
- Get windows version to compile again. No biggy if array_map is not #if 0'd
out even if it doesn't work.
Diffstat (limited to 'main/mergesort.c')
-rw-r--r--main/mergesort.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/mergesort.c b/main/mergesort.c
index e7db8ec98f..0cb1029126 100644
--- a/main/mergesort.c
+++ b/main/mergesort.c
@@ -58,6 +58,10 @@ static char sccsid[] = "@(#)merge.c 8.2 (Berkeley) 2/14/94";
#include <stdlib.h>
#include <string.h>
+#if (WINNT|WIN32)
+#include <winsock.h> /* Includes definition for u_char */
+#endif
+
static void setup (u_char *, u_char *, size_t, size_t, int (*)());
static void insertionsort (u_char *, size_t, size_t, int (*)());