summaryrefslogtreecommitdiff
path: root/regress/misc
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-02-07 12:57:13 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-02-07 12:57:13 +0000
commit4b96ca89f2e10a6757cb113bf2d9f4c3ab7f36fe (patch)
treec280544afba0930492e83d9fe940903931c9c1df /regress/misc
parenteb791a9dc94d67e5e97983a67cb0dd7b6214f3bf (diff)
Include <netinet/in.h> to get in_addr_t and in_port_t compiled.
Diffstat (limited to 'regress/misc')
-rw-r--r--regress/misc/c++abi/nm1.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/misc/c++abi/nm1.C b/regress/misc/c++abi/nm1.C
index 2ed1a9bcff0..698c0bf1819 100644
--- a/regress/misc/c++abi/nm1.C
+++ b/regress/misc/c++abi/nm1.C
@@ -1,6 +1,7 @@
-/* $OpenBSD: nm1.C,v 1.1 2013/07/06 23:06:36 espie Exp $ */
+/* $OpenBSD: nm1.C,v 1.2 2017/02/07 12:57:12 bluhm Exp $ */
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#define D(T) void witness_##T(T) {}