aboutsummaryrefslogtreecommitdiff
path: root/contrib/tsearch2/common.h
diff options
context:
space:
mode:
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);