From 4d297a7ff1bcd55be2d6bb1d648b1f4ed0f355f3 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Sat, 31 May 2003 03:15:50 +0000 Subject: [PATCH] * srv.h, srv.c: Include windows.h with MINGW32. --- util/ChangeLog | 4 ++++ util/srv.c | 6 +++++- util/srv.h | 4 ++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/util/ChangeLog b/util/ChangeLog index e968256da..bd83acc10 100644 --- a/util/ChangeLog +++ b/util/ChangeLog @@ -1,3 +1,7 @@ +2003-05-30 David Shaw + + * srv.h, srv.c: Include windows.h with MINGW32. + 2003-05-24 David Shaw * argparse.c, dotlock.c, fileutil.c, iobuf.c, miscutil.c, diff --git a/util/srv.c b/util/srv.c index 35f5b7109..e73d3f85c 100644 --- a/util/srv.c +++ b/util/srv.c @@ -20,10 +20,14 @@ #include #ifdef USE_DNS_SRV -#include +#ifdef __MINGW32__ +#include +#else #include #include #include +#endif +#include #include #include #include diff --git a/util/srv.h b/util/srv.h index a6766becd..de239b6bc 100644 --- a/util/srv.h +++ b/util/srv.h @@ -21,9 +21,13 @@ #ifndef _SRV_H_ #define _SRV_H_ +#ifdef __MINGW32__ +#include +#else #include #include #include +#endif #ifndef MAXDNAME #define MAXDNAME 1025