提交 949ab3c9 编写于 作者: B Bruce Momjian

snprintf.c has no sys/ioctl.h. Trivial patch below:

Magnus Hagander
上级 484f0464
......@@ -40,7 +40,9 @@
Your platform must have a thread-safe snprintf() to compile with threads.
#endif
#ifndef WIN32
#include <sys/ioctl.h>
#endif
#include <sys/param.h>
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册