summaryrefslogtreecommitdiffstats
path: root/usr.bin/pr
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/pr')
-rw-r--r--usr.bin/pr/Makefile2
-rw-r--r--usr.bin/pr/egetopt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/pr/Makefile b/usr.bin/pr/Makefile
index 88ec7b4..15652dc 100644
--- a/usr.bin/pr/Makefile
+++ b/usr.bin/pr/Makefile
@@ -4,6 +4,4 @@
PROG= pr
SRCS= pr.c egetopt.c
-WARNS?= 2
-
.include <bsd.prog.mk>
diff --git a/usr.bin/pr/egetopt.c b/usr.bin/pr/egetopt.c
index cf42d7c..4b41b4a 100644
--- a/usr.bin/pr/egetopt.c
+++ b/usr.bin/pr/egetopt.c
@@ -48,6 +48,8 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <string.h>
+#include "extern.h"
+
/*
* egetopt: get option letter from argument vector (an extended
* version of getopt).
OpenPOWER on IntegriCloud