summaryrefslogtreecommitdiff
path: root/usr.bin/talk/talk.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/talk/talk.c')
-rw-r--r--usr.bin/talk/talk.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/talk/talk.c b/usr.bin/talk/talk.c
index a85c9cb13e1..b10ad857a5a 100644
--- a/usr.bin/talk/talk.c
+++ b/usr.bin/talk/talk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: talk.c,v 1.9 2009/10/27 23:59:44 deraadt Exp $ */
+/* $OpenBSD: talk.c,v 1.10 2016/02/01 07:29:25 mestre Exp $ */
/* $NetBSD: talk.c,v 1.3 1994/12/09 02:14:25 jtc Exp $ */
/*
@@ -30,6 +30,10 @@
* SUCH DAMAGE.
*/
+#include <err.h>
+#include <string.h>
+#include <unistd.h>
+
#include "talk.h"
/*
@@ -59,6 +63,5 @@ main(int argc, char *argv[])
end_msgs();
set_edit_chars();
talk();
- /* NOTREACHED */
return (0);
}