From b85a965f5fc7243d0386085e12f7a6c836503b42 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 11 Jul 2006 13:54:25 +0000 Subject: Allow each C include file to compile on its own by including any needed header files. --- src/include/utils/inet.h | 4 +++- src/include/utils/numeric.h | 4 +++- src/include/utils/syscache.h | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'src/include/utils') 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. -- cgit v1.2.1