summaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-07-11 13:54:25 +0000
committerBruce Momjian <bruce@momjian.us>2006-07-11 13:54:25 +0000
commitb85a965f5fc7243d0386085e12f7a6c836503b42 (patch)
tree659ff5b830aa754b70dbde857d3597d356409c42 /src/include/utils
parent45a43090748331134d57bc2b74e918b188f34f3a (diff)
downloadpostgresql-b85a965f5fc7243d0386085e12f7a6c836503b42.tar.gz
Allow each C include file to compile on its own by including any needed
header files.
Diffstat (limited to 'src/include/utils')
-rw-r--r--src/include/utils/inet.h4
-rw-r--r--src/include/utils/numeric.h4
-rw-r--r--src/include/utils/syscache.h3
3 files changed, 8 insertions, 3 deletions
diff --git a/src/include/utils/inet.h b/src/include/utils/inet.h
index d0b1190029..8a50edf3a6 100644
--- a/src/include/utils/inet.h
+++ b/src/include/utils/inet.h
@@ -7,13 +7,15 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/inet.h,v 1.23 2006/03/05 15:59:07 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/utils/inet.h,v 1.24 2006/07/11 13:54:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef INET_H
#define INET_H
+#include "fmgr.h"
+
/*
* This is the internal storage format for IP addresses
* (both INET and CIDR datatypes):
diff --git a/src/include/utils/numeric.h b/src/include/utils/numeric.h
index 1e2888a85f..e2103eb30e 100644
--- a/src/include/utils/numeric.h
+++ b/src/include/utils/numeric.h
@@ -7,13 +7,15 @@
*
* Copyright (c) 1998-2006, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/include/utils/numeric.h,v 1.21 2006/03/05 15:59:07 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/utils/numeric.h,v 1.22 2006/07/11 13:54:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef _PG_NUMERIC_H_
#define _PG_NUMERIC_H_
+#include "fmgr.h"
+
/*
* Hardcoded precision limit - arbitrary, but must be small enough that
* dscale values will fit in 14 bits.
diff --git a/src/include/utils/syscache.h b/src/include/utils/syscache.h
index 34ef6132b3..89e049a72b 100644
--- a/src/include/utils/syscache.h
+++ b/src/include/utils/syscache.h
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/syscache.h,v 1.63 2006/05/03 22:45:26 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/utils/syscache.h,v 1.64 2006/07/11 13:54:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -17,6 +17,7 @@
#define SYSCACHE_H
#include "access/htup.h"
+#include "utils/catcache.h"
/*
* Declarations for util/syscache.c.