freebsd-ports/editors/nvi-perl/files/patch-perlsfio.c
Anton Berezin b0c8ec32c3 Make nvi-perl work with newer perls. Unbreak it for -CURRENT.
PR:		37730
Reported by:	parv <parv_fm@emailgroups.net>
2003-04-04 22:10:59 +00:00

17 lines
377 B
C

--- perl_api/perlsfio.c.orig Thu Apr 3 00:41:06 2003
+++ perl_api/perlsfio.c Thu Apr 3 00:41:23 2003
@@ -27,11 +27,12 @@ static const char sccsid[] = "@(#)perlsf
#include <termios.h>
#include <unistd.h>
-#include "../common/common.h"
-
#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>
+
+#undef ARGS
+#include "../common/common.h"
#include "perl_extern.h"