From: | Giles Lean <giles(at)nemeton(dot)com(dot)au> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | src/backend/commands/copy.c revision 1.176 needs <errno.h> |
Date: | 2002-10-19 00:13:47 |
Message-ID: | 27032.1034986427@nemeton.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Hi,
When compiling from current sources obtained via cvsup the build
failed in src/backend/commands/copy.c (revision 1.176) as errno is
used but <errno.h> is not included. Trivial diff below.
$ uname -srm
NetBSD 1.5.1 i386
$ gcc -v
Using builtin specs.
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
Regards,
Giles
Index: src/backend/commands/copy.c
===================================================================
RCS file: /usr/local/PostgreSQL/cvs/pgsql-server/src/backend/commands/copy.c,v
retrieving revision 1.176
diff -c -r1.176 copy.c
*** src/backend/commands/copy.c 2002/10/14 16:51:28 1.176
--- src/backend/commands/copy.c 2002/10/18 23:46:40
***************
*** 13,18 ****
--- 13,19 ----
*/
#include "postgres.h"
+ #include <errno.h>
#include <unistd.h>
#include <sys/stat.h>
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-10-19 02:07:54 | Re: float8 functions |
Previous Message | Peter Eisentraut | 2002-10-18 22:11:32 | clusterdb has poor error recovery |