summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mopd
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2011-09-21 20:56:40 +0000
committerjsg <jsg@openbsd.org>2011-09-21 20:56:40 +0000
commit49d0ebdc5deb2429f630bdac18e836f56e28d0b1 (patch)
treedbd2d271cd24f05e80d268fdee14e741da442c8d /usr.sbin/mopd
parentCheck the protocol header length for tcp, udp, icmp, icmp6 in (diff)
downloadwireguard-openbsd-49d0ebdc5deb2429f630bdac18e836f56e28d0b1.tar.xz
wireguard-openbsd-49d0ebdc5deb2429f630bdac18e836f56e28d0b1.zip
missing err.h include
ok maja@
Diffstat (limited to 'usr.sbin/mopd')
-rw-r--r--usr.sbin/mopd/common/os.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/mopd/common/os.h b/usr.sbin/mopd/common/os.h
index fa0e8e58938..577a32239e0 100644
--- a/usr.sbin/mopd/common/os.h
+++ b/usr.sbin/mopd/common/os.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: os.h,v 1.6 2003/08/19 22:19:08 itojun Exp $ */
+/* $OpenBSD: os.h,v 1.7 2011/09/21 20:56:40 jsg Exp $ */
/*
* Copyright (c) 1994-95 Mats O Jansson. All rights reserved.
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $OpenBSD: os.h,v 1.6 2003/08/19 22:19:08 itojun Exp $
+ * $OpenBSD: os.h,v 1.7 2011/09/21 20:56:40 jsg Exp $
*
*/
@@ -49,6 +49,7 @@
#include <string.h>
#include <unistd.h>
#include <ifaddrs.h>
+#include <err.h>
#define DEV_NEW_CONF