summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/common.h
diff options
context:
space:
mode:
authorBruce Momjian2006-07-10 22:06:11 +0000
committerBruce Momjian2006-07-10 22:06:11 +0000
commitc5133e5920a802201824effd13f16f606b8d6971 (patch)
tree29ddcb573460f83cd2705bdfdf7023cbdc4c631d /contrib/tsearch2/common.h
parentf0cd7647234b028d25cfd53c9376320e0ef9799b (diff)
Allow /contrib include files to compile on their own.
Diffstat (limited to 'contrib/tsearch2/common.h')
-rw-r--r--contrib/tsearch2/common.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/tsearch2/common.h b/contrib/tsearch2/common.h
index d2f4cd66a19..c33507e9ac7 100644
--- a/contrib/tsearch2/common.h
+++ b/contrib/tsearch2/common.h
@@ -1,11 +1,9 @@
#ifndef __TS_COMMON_H__
#define __TS_COMMON_H__
+
#include "postgres.h"
#include "fmgr.h"
-
-#ifndef PG_NARGS
-#define PG_NARGS() (fcinfo->nargs)
-#endif
+#include "utils/array.h"
text *char2text(char *in);
text *charl2text(char *in, int len);