summaryrefslogtreecommitdiff
path: root/usr.bin/talk/get_addrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/talk/get_addrs.c')
-rw-r--r--usr.bin/talk/get_addrs.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/talk/get_addrs.c b/usr.bin/talk/get_addrs.c
index c437d2e6c0a..7bb4dc90f37 100644
--- a/usr.bin/talk/get_addrs.c
+++ b/usr.bin/talk/get_addrs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: get_addrs.c,v 1.9 2010/08/12 23:31:29 tedu Exp $ */
+/* $OpenBSD: get_addrs.c,v 1.10 2016/02/01 07:29:25 mestre Exp $ */
/* $NetBSD: get_addrs.c,v 1.3 1994/12/09 02:14:14 jtc Exp $ */
/*
@@ -30,10 +30,12 @@
* SUCH DAMAGE.
*/
-#include "talk.h"
+#include <err.h>
#include <netdb.h>
-#include <stdio.h>
+#include <string.h>
#include <unistd.h>
+
+#include "talk.h"
#include "talk_ctl.h"
void