aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-10-23 23:37:47 +0000
committerBruce Momjian <bruce@momjian.us>2002-10-23 23:37:47 +0000
commitf142b0915116bfe0935b589045678a6c95e7abb9 (patch)
tree79d132abb0d661ad67afabdcf9e138a2b742473b /src
parent3675d064c9f56a22156cfb8053a643dcd4f998ed (diff)
downloadpostgresql-f142b0915116bfe0935b589045678a6c95e7abb9.tar.gz
postgresql-f142b0915116bfe0935b589045678a6c95e7abb9.zip
Add fseeko/ftello prototypes for BSD/OS only to c.h.
Diffstat (limited to 'src')
-rw-r--r--src/include/c.h7
1 files changed, 6 insertions, 1 deletions
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"