From: Bruce Momjian Date: Mon, 28 Feb 2005 14:16:16 +0000 (+0000) Subject: snprintf.c has no sys/ioctl.h. Trivial patch below: X-Git-Tag: REL8_1_0BETA1~1302 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=949ab3c9b3d34f8aece16610e0eb1826bfc02312;p=postgresql snprintf.c has no sys/ioctl.h. Trivial patch below: Magnus Hagander --- diff --git a/src/port/snprintf.c b/src/port/snprintf.c index eb75482f16..854bb624d4 100644 --- a/src/port/snprintf.c +++ b/src/port/snprintf.c @@ -40,7 +40,9 @@ Your platform must have a thread-safe snprintf() to compile with threads. #endif +#ifndef WIN32 #include +#endif #include @@ -83,7 +85,7 @@ typedef unsigned long ulong_long; * causing nast effects. **************************************************************/ -/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.6 2005/02/22 04:57:24 momjian Exp $";*/ +/*static char _id[] = "$PostgreSQL: pgsql/src/port/snprintf.c,v 1.7 2005/02/28 14:16:16 momjian Exp $";*/ static char *end; static int SnprfOverflow;