From 5149036fb7af577bf9b512f40666a35ec57f67d1 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 1 Dec 2013 00:00:43 -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.3