Subject: | [PATCH] Fix redefinition warnings in Stash.xs |
Stash.xs includes pport.h before XSUB.h, which causes redefinition warnings, sincde ppport.h conditionally provides replacements for several macros that are defined in XSUB.h. The attached patch fixes these warnings by switching the order of the includes.
Subject: | ppport-warnings.patch |
--- xs/Stash.xs~ 2012-02-08 07:17:34.000000000 +0000
+++ xs/Stash.xs 2013-06-11 12:48:50.805934895 +0100
@@ -36,8 +36,8 @@
#include "perl.h"
#define NEED_sv_2pv_flags
#define NEED_newRV_noinc
-#include "ppport.h"
#include "XSUB.h"
+#include "ppport.h"
#ifdef __cplusplus
}