summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/perl/Makefile1
-rw-r--r--usr.bin/perl/perl.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/perl/Makefile b/usr.bin/perl/Makefile
index 18860d3..c5f0426 100644
--- a/usr.bin/perl/Makefile
+++ b/usr.bin/perl/Makefile
@@ -2,5 +2,6 @@
PROG= perl
NOMAN=
+WARNS?= 6
.include <bsd.prog.mk>
diff --git a/usr.bin/perl/perl.c b/usr.bin/perl/perl.c
index 894a918..15a155d 100644
--- a/usr.bin/perl/perl.c
+++ b/usr.bin/perl/perl.c
@@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
extern char **environ;
OpenPOWER on IntegriCloud