summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-05-09 16:26:29 +0000
committerBruce Momjian <bruce@momjian.us>2003-05-09 16:26:29 +0000
commit0afe5417d79711bc73cfbffd01baf97912ad46d6 (patch)
tree9908d35b2b5264ae82c56c2a0d7640b3262caedd /src/include
parent995773be1ce2e5270bad69c02b551871f27c5a66 (diff)
Add rint() to /port, remove from qnx/.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/c.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h
index a580c90ab21..a69bb99c29c 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.142 2003/05/09 01:16:29 momjian Exp $
+ * $Id: c.h,v 1.143 2003/05/09 16:26:29 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -811,6 +811,10 @@ extern int isinf(double x);
extern int gethostname(char *name, int namelen);
#endif
+#ifndef HAVE_RINT
+extern double rint(double x);
+#endif
+
#ifndef HAVE_INET_ATON
# include <netinet/in.h>
# include <arpa/inet.h>