[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] libneon does not compile on cygwin when WIN32 defined
From: |
lode . leroy |
Subject: |
[Gnu-arch-users] libneon does not compile on cygwin when WIN32 defined |
Date: |
Wed, 29 Sep 2004 15:58:20 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.3a |
hello,
i'd like to report a bug in the bundled neon library when compiled with WIN32
defined on
win32.
I know this is supposed to be fixed by libneon maintainers, and I will post a
message
there too. however the source is bundled with tla, so I consider that this
should be
fixed in tla as well.
I'm sorry I do not have an {archive} to have this merged from...
-- lode
diff -bruw tla-1.2.1-orig/src/tla/libneon/ne_socket.c
tla-1.2.1/src/tla/libneon/ne_socket.c
--- tla-1.2.1-orig/src/tla/libneon/ne_socket.c 2004-08-19 03:42:52.000000000
+0200
+++ tla-1.2.1/src/tla/libneon/ne_socket.c 2004-09-29 15:25:21.186704000
+0200
@@ -35,6 +35,7 @@
#endif
#endif
+#ifndef WIN32
#include <sys/types.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
@@ -59,6 +60,7 @@
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
+#endif
#ifdef WIN32
#include <winsock2.h>
diff -bruw tla-1.2.1-orig/src/tla/libneon/ne_uri.c
tla-1.2.1/src/tla/libneon/ne_uri.c
--- tla-1.2.1-orig/src/tla/libneon/ne_uri.c 2003-12-06 20:35:29.000000000
+0100
+++ tla-1.2.1/src/tla/libneon/ne_uri.c 2004-09-29 15:39:21.625195200 +0200
@@ -34,6 +34,10 @@
#include <stdlib.h>
#endif
+#ifdef WIN32
+#include <windef.h>
+#endif
+
#include <ctype.h>
#include "ne_utils.h" /* for 'min' */
----------------------------------------------------------------------------------
Plaats je zoekertjes GRATIS op AdValvas
Placez votre petite annonce GRATUITEMENT sur AdValvas
http://www.advalvas.be
- [Gnu-arch-users] libneon does not compile on cygwin when WIN32 defined,
lode . leroy <=