From 432e5d06ccbbc05976d639f80b45ab0bf23412d2 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Fri, 6 Dec 2013 05:13:36 -0700 Subject: [PATCH] librfcnb: portability fixes Add #include wrapper protection for headers missing on Windows MinGW. This is an iCelero Project --- lib/rfcnb/std-includes.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.47.2