From 7f77907ab1f44a0d8b7c0fa14f2c9df69f42500b Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 2 Jul 2009 14:07:55 +0000 Subject: Inevitably, Windows requires winsock.h instead of the BSD stack headers. svn path=/trunk/libparserutils/; revision=8263 --- src/charset/codecs/codec_8859.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/charset/codecs/codec_8859.c') diff --git a/src/charset/codecs/codec_8859.c b/src/charset/codecs/codec_8859.c index 6d53b86..fec034d 100644 --- a/src/charset/codecs/codec_8859.c +++ b/src/charset/codecs/codec_8859.c @@ -9,10 +9,14 @@ #include #include +#ifdef BUILD_TARGET_windows +#include +#else /* These three are for htonl / ntohl */ #include #include #include +#endif #include -- cgit v1.2.3