summaryrefslogtreecommitdiff
path: root/XSUB.h
diff options
context:
space:
mode:
Diffstat (limited to 'XSUB.h')
-rw-r--r--XSUB.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/XSUB.h b/XSUB.h
index a1d22576e8..18f5b81d23 100644
--- a/XSUB.h
+++ b/XSUB.h
@@ -119,10 +119,8 @@
# define VTBL_amagicelem &PL_vtbl_amagicelem
#endif
-#if defined(PERL_OBJECT) || defined(PERL_CAPI)
-# include "perlapi.h"
-# include "objXSUB.h"
-#endif /* PERL_OBJECT || PERL_CAPI */
+#include "perlapi.h"
+#include "objXSUB.h"
#if defined(PERL_IMPLICIT_CONTEXT) && !defined(PERL_NO_GET_CONTEXT) && !defined(PERL_CORE)
# undef aTHX