From: Amos Jeffries Date: Sun, 1 Dec 2013 07:00:43 +0000 (-0700) Subject: librfcnb: portability fixes X-Git-Tag: SQUID_3_5_0_1~485 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5149036fb7af577bf9b512f40666a35ec57f67d1;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