summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/hstore_plperl/hstore_plperl.c4
-rw-r--r--contrib/jsonb_plperl/jsonb_plperl.c3
2 files changed, 1 insertions, 6 deletions
diff --git a/contrib/hstore_plperl/hstore_plperl.c b/contrib/hstore_plperl/hstore_plperl.c
index 61b5557421c..1316b0500be 100644
--- a/contrib/hstore_plperl/hstore_plperl.c
+++ b/contrib/hstore_plperl/hstore_plperl.c
@@ -1,11 +1,9 @@
#include "postgres.h"
-#undef _
-
#include "fmgr.h"
+#include "hstore/hstore.h"
#include "plperl.h"
#include "plperl_helpers.h"
-#include "hstore/hstore.h"
PG_MODULE_MAGIC;
diff --git a/contrib/jsonb_plperl/jsonb_plperl.c b/contrib/jsonb_plperl/jsonb_plperl.c
index 79c5f57d8fd..b26723a9589 100644
--- a/contrib/jsonb_plperl/jsonb_plperl.c
+++ b/contrib/jsonb_plperl/jsonb_plperl.c
@@ -2,9 +2,6 @@
#include <math.h>
-/* Defined by Perl */
-#undef _
-
#include "fmgr.h"
#include "plperl.h"
#include "plperl_helpers.h"