From: Amos Jeffries Date: Fri, 6 Dec 2013 12:13:36 +0000 (-0700) Subject: librfcnb: portability fixes X-Git-Tag: SQUID_3_4_1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=432e5d06ccbbc05976d639f80b45ab0bf23412d2;p=thirdparty%2Fsquid.git librfcnb: portability fixes Add #include wrapper protection for headers missing on Windows MinGW. This is an iCelero Project --- diff --git a/lib/rfcnb/std-includes.h b/lib/rfcnb/std-includes.h index 0ae24dee5b..8dbda9d6e8 100644 --- a/lib/rfcnb/std-includes.h +++ b/lib/rfcnb/std-includes.h @@ -29,10 +29,16 @@ #define BOOL int typedef short int16; +#if HAVE_NETDB_H #include +#endif #include +#if HAVE_NETINET_IN_H #include +#endif +#if HAVE_SYS_SOCKET_H #include +#endif #include #include #include