From f142b0915116bfe0935b589045678a6c95e7abb9 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Wed, 23 Oct 2002 23:37:47 +0000
Subject: [PATCH] Add fseeko/ftello prototypes for BSD/OS only to c.h.

---
 src/include/c.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/include/c.h b/src/include/c.h
index a51e012dcf0..ba0fb355d25 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -12,7 +12,7 @@
  * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: c.h,v 1.128 2002/10/08 23:12:22 momjian Exp $
+ * $Id: c.h,v 1.129 2002/10/23 23:37:47 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -639,6 +639,11 @@ typedef NameData *Name;
 #include <unistd.h>
 #endif
 
+#if defined(bsdi)
+int fseeko(FILE *stream, off_t offset, int whence);
+off_t ftello(FILE *stream);
+#endif
+
 /* These are for things that are one way on Unix and another on NT */
 #define NULL_DEV		"/dev/null"
 
-- 
GitLab