summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-05-22 17:20:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-05-22 17:20:29 +0000
commit2bd72eb53d825ddada76fa4e288cadbcd81733a0 (patch)
tree8e99c458b4dd906bf10aa9fcc938454ba45f8703
parentc35238e0a3351db3ed20c5a218d42fe18630ffd4 (diff)
downloadgnurl-2bd72eb53d825ddada76fa4e288cadbcd81733a0.tar.gz
gnurl-2bd72eb53d825ddada76fa4e288cadbcd81733a0.tar.bz2
gnurl-2bd72eb53d825ddada76fa4e288cadbcd81733a0.zip
Jörn's fixes
-rw-r--r--src/Makefile.m324
-rw-r--r--src/main.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index d398083fb..41b840c3d 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -9,7 +9,7 @@
CC = gcc
STRIP = strip -s
-OPENSSL_PATH = ../../openssl-0.9.4
+OPENSSL_PATH = ../../openssl-0.9.5a
# We may need these someday
# PERL = perl
@@ -19,7 +19,7 @@ OPENSSL_PATH = ../../openssl-0.9.4
## Nothing more to do below this line!
INCLUDES = -I. -I.. -I../include
-CFLAGS = -g -O2 -DGLOBURL -DCURL_SEPARATORS
+CFLAGS = -g -O2
LDFLAGS =
COMPILE = $(CC) $(INCLUDES) $(CFLAGS)
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
diff --git a/src/main.c b/src/main.c
index d629de9e7..1ee45fe3e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -63,6 +63,10 @@
/* This is now designed to have its own local setup.h */
#include "setup.h"
+#ifdef WIN32
+#include <winsock.h>
+#endif
+
#include "version.h"
#ifdef HAVE_IO_H /* typical win32 habit */
@@ -122,7 +126,7 @@ static void win32_cleanup(void)
WSACleanup();
}
-static UrgError win32_init(void)
+static CURLcode win32_init(void)
{
WORD wVersionRequested;
WSADATA wsaData;