aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/pr/egetopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/pr/egetopt.c')
-rw-r--r--usr.bin/pr/egetopt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/pr/egetopt.c b/usr.bin/pr/egetopt.c
index cf42d7c44636..277459ee47a7 100644
--- a/usr.bin/pr/egetopt.c
+++ b/usr.bin/pr/egetopt.c
@@ -46,8 +46,11 @@ __FBSDID("$FreeBSD$");
#include <ctype.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
+#include "extern.h"
+
/*
* egetopt: get option letter from argument vector (an extended
* version of getopt).