summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2015-10-23 02:01:15 +0000
committerjsg <jsg@openbsd.org>2015-10-23 02:01:15 +0000
commitb2fea133cf3a6c699ff8e092ee31c1dc3c4a6bb7 (patch)
tree567b45a4eb048df7e574f5226eb40fa983268c3c
parentinline the hif_eligible TAILQ. (diff)
downloadwireguard-openbsd-b2fea133cf3a6c699ff8e092ee31c1dc3c4a6bb7.tar.xz
wireguard-openbsd-b2fea133cf3a6c699ff8e092ee31c1dc3c4a6bb7.zip
include err.h for err() calls added with recent pledge commits.
-rw-r--r--games/bcd/bcd.c3
-rw-r--r--games/morse/morse.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/games/bcd/bcd.c b/games/bcd/bcd.c
index a4ea91296a6..5d97d35f372 100644
--- a/games/bcd/bcd.c
+++ b/games/bcd/bcd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcd.c,v 1.21 2015/10/14 08:12:12 doug Exp $ */
+/* $OpenBSD: bcd.c,v 1.22 2015/10/23 02:01:15 jsg Exp $ */
/* $NetBSD: bcd.c,v 1.6 1995/04/24 12:22:23 cgd Exp $ */
/*
@@ -69,6 +69,7 @@
#include <string.h>
#include <ctype.h>
#include <unistd.h>
+#include <err.h>
u_short holes[256] = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
diff --git a/games/morse/morse.c b/games/morse/morse.c
index b99412cb40c..ba5eba7725e 100644
--- a/games/morse/morse.c
+++ b/games/morse/morse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: morse.c,v 1.16 2015/10/14 08:12:12 doug Exp $ */
+/* $OpenBSD: morse.c,v 1.17 2015/10/23 02:01:15 jsg Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -34,6 +34,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <err.h>
static char
*digit[] = {