summaryrefslogtreecommitdiffstats
path: root/lib/libpcap
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-01-16 16:48:51 +0000
committerderaadt <deraadt@openbsd.org>2015-01-16 16:48:51 +0000
commitaea60bee5e9bad0aab62f480f19c2fb34c068de4 (patch)
tree1e7befbc10e28796528939427d4fdbd94b60d9af /lib/libpcap
parentMore evil bootstrap code. #ifndef ALIGNBYTES #define ALIGNBYTES 3. (diff)
downloadwireguard-openbsd-aea60bee5e9bad0aab62f480f19c2fb34c068de4.tar.xz
wireguard-openbsd-aea60bee5e9bad0aab62f480f19c2fb34c068de4.zip
Move to the <limits.h> universe.
review by millert, binary checking process with doug, concept with guenther
Diffstat (limited to 'lib/libpcap')
-rw-r--r--lib/libpcap/gencode.c3
-rw-r--r--lib/libpcap/inet.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpcap/gencode.c b/lib/libpcap/gencode.c
index 47b8a2abe53..da7ef341994 100644
--- a/lib/libpcap/gencode.c
+++ b/lib/libpcap/gencode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gencode.c,v 1.39 2014/11/20 14:51:41 krw Exp $ */
+/* $OpenBSD: gencode.c,v 1.40 2015/01/16 16:48:51 deraadt Exp $ */
/*
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998
@@ -21,6 +21,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+#include <sys/param.h> /* ALIGN */
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
diff --git a/lib/libpcap/inet.c b/lib/libpcap/inet.c
index 48aca3d437a..05c2cf702e6 100644
--- a/lib/libpcap/inet.c
+++ b/lib/libpcap/inet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet.c,v 1.19 2006/03/26 20:58:50 djm Exp $ */
+/* $OpenBSD: inet.c,v 1.20 2015/01/16 16:48:51 deraadt Exp $ */
/*
* Copyright (c) 1994, 1995, 1996, 1997, 1998
@@ -34,7 +34,6 @@
*/
-#include <sys/param.h>
#include <sys/file.h>
#include <sys/ioctl.h>
#include <sys/socket.h>