Cwd doesn't need ppport.h in core
[p5sagit/p5-mst-13.2.git] / ext / Cwd / Cwd.xs
index 039adb9..99d372c 100644 (file)
@@ -1,8 +1,10 @@
 #include "EXTERN.h"
 #include "perl.h"
 #include "XSUB.h"
-#define NEED_sv_2pv_nolen
-#include "ppport.h"
+#ifdef USE_PPPORT_H
+#   define NEED_sv_2pv_nolen
+#   include "ppport.h"
+#endif
 
 #ifdef I_UNISTD
 #   include <unistd.h>