summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2013-11-19 15:12:24 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2013-11-19 15:12:24 +0000
commit6624e09c00b5244155290c8795243db84d336c27 (patch)
tree19e8c7d36e7b32519cb72d7fe918f25dda6e1f5a
parentb081bbdf77a96656e56a655c79c59125b687ee56 (diff)
include queue.h directly instead of relying on if.h to provide it;
ok deraadt
-rw-r--r--sbin/dhclient/dhcpd.h3
-rw-r--r--usr.sbin/pppoe/client.c3
-rw-r--r--usr.sbin/pppoe/common.c3
-rw-r--r--usr.sbin/pppoe/pppoe.c3
-rw-r--r--usr.sbin/pppoe/server.c3
-rw-r--r--usr.sbin/pppoe/session.c3
-rw-r--r--usr.sbin/pppoe/tag.c3
7 files changed, 14 insertions, 7 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h
index 53625fb9597..d51836e5521 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.123 2013/11/11 21:00:01 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.124 2013/11/19 15:12:23 mikeb Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -45,6 +45,7 @@
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/wait.h>
+#include <sys/queue.h>
#include <net/if.h>
#include <net/if_dl.h>
diff --git a/usr.sbin/pppoe/client.c b/usr.sbin/pppoe/client.c
index 32cd0a11ada..5e63e1520c8 100644
--- a/usr.sbin/pppoe/client.c
+++ b/usr.sbin/pppoe/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.24 2011/11/05 09:20:36 yasuoka Exp $ */
+/* $OpenBSD: client.c,v 1.25 2013/11/19 15:12:23 mikeb Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -29,6 +29,7 @@
#include <sys/types.h>
#include <sys/uio.h>
#include <sys/socket.h>
+#include <sys/queue.h>
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_types.h>
diff --git a/usr.sbin/pppoe/common.c b/usr.sbin/pppoe/common.c
index 7f1b6b50463..0d37ff47a32 100644
--- a/usr.sbin/pppoe/common.c
+++ b/usr.sbin/pppoe/common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.c,v 1.13 2011/11/05 09:20:36 yasuoka Exp $ */
+/* $OpenBSD: common.c,v 1.14 2013/11/19 15:12:23 mikeb Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -29,6 +29,7 @@
#include <sys/types.h>
#include <sys/uio.h>
#include <sys/socket.h>
+#include <sys/queue.h>
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_types.h>
diff --git a/usr.sbin/pppoe/pppoe.c b/usr.sbin/pppoe/pppoe.c
index cb59379cee9..2a2d47bf263 100644
--- a/usr.sbin/pppoe/pppoe.c
+++ b/usr.sbin/pppoe/pppoe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pppoe.c,v 1.19 2011/11/05 09:20:36 yasuoka Exp $ */
+/* $OpenBSD: pppoe.c,v 1.20 2013/11/19 15:12:23 mikeb Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -30,6 +30,7 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/wait.h>
+#include <sys/queue.h>
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_types.h>
diff --git a/usr.sbin/pppoe/server.c b/usr.sbin/pppoe/server.c
index 410583a6db8..d0f100573a5 100644
--- a/usr.sbin/pppoe/server.c
+++ b/usr.sbin/pppoe/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.15 2011/11/05 09:20:36 yasuoka Exp $ */
+/* $OpenBSD: server.c,v 1.16 2013/11/19 15:12:23 mikeb Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -29,6 +29,7 @@
#include <sys/uio.h>
#include <sys/socket.h>
#include <sys/param.h>
+#include <sys/queue.h>
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_types.h>
diff --git a/usr.sbin/pppoe/session.c b/usr.sbin/pppoe/session.c
index 8b9ba2c70ad..72183a230df 100644
--- a/usr.sbin/pppoe/session.c
+++ b/usr.sbin/pppoe/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.5 2011/11/05 09:20:36 yasuoka Exp $ */
+/* $OpenBSD: session.c,v 1.6 2013/11/19 15:12:23 mikeb Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/queue.h>
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_types.h>
diff --git a/usr.sbin/pppoe/tag.c b/usr.sbin/pppoe/tag.c
index b79a53cedfc..b1231b814ad 100644
--- a/usr.sbin/pppoe/tag.c
+++ b/usr.sbin/pppoe/tag.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tag.c,v 1.5 2011/11/05 09:20:36 yasuoka Exp $ */
+/* $OpenBSD: tag.c,v 1.6 2013/11/19 15:12:23 mikeb Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/queue.h>
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_types.h>