> > > On FreeBSD/Alpha, CVS gives [trouble]
> > 
> > I'm currently having to use "configure --disable-largefile" on HPUX;
> > looks like you'll have to do the same until Peter finishes ironing out
> > the wrinkles with autoconfiguring largefile support.  It would be
> > helpful if you'd poke into your system headers and find out (a) can you
> > do large files at all, and if so (b) what is the correct magic
> > combination of #defines for your system.
> 
> FreeBSD 5.0-CURRENT, gcc 3.1 and 3.2 both have this same problem even
> with largefile disabled.  Help?  -sc

For those interested and with commit powers, including sys/types.h in
pg_backup_archiver.h fixes this build problem.  -sc

> gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations 
>-I../../../src/interfaces/libpq -I../../../src/include   -c -o common.o common.c
> In file included from common.c:21:
> pg_backup_archiver.h:168: syntax error before "off_t"
> gmake[3]: *** [common.o] Error 1


-- 
Sean Chittenden
Index: pg_backup_archiver.h
===================================================================
RCS file: /projects/cvsroot/pgsql-server/src/bin/pg_dump/pg_backup_archiver.h,v
retrieving revision 1.46
diff -u -r1.46 pg_backup_archiver.h
--- pg_backup_archiver.h        2002/08/20 17:54:44     1.46
+++ pg_backup_archiver.h        2002/08/21 23:01:14
@@ -29,6 +29,7 @@
 
 #include <time.h>
 #include <errno.h>
+#include <sys/types.h>
 
 #include "pqexpbuffer.h"
 #define LOBBUFSIZE 32768

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to