summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-01-07 22:33:31 +0000
committerderaadt <deraadt@openbsd.org>1999-01-07 22:33:31 +0000
commit301dc92adbfe5df5996d04e521db325e60a4183f (patch)
tree9dcd29d6775662b0e308cf0608763a9e60a00a9e
parentMan page changes for the midi integration (diff)
downloadwireguard-openbsd-301dc92adbfe5df5996d04e521db325e60a4183f.tar.xz
wireguard-openbsd-301dc92adbfe5df5996d04e521db325e60a4183f.zip
make MCL_ALIGN() available outside INET6 land
-rw-r--r--sys/sys/mbuf.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index e48dbb0b36e..e02ebf70f95 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbuf.h,v 1.8 1999/01/07 22:28:01 deraadt Exp $ */
+/* $OpenBSD: mbuf.h,v 1.9 1999/01/07 22:33:31 deraadt Exp $ */
/* $NetBSD: mbuf.h,v 1.19 1996/02/09 18:25:14 christos Exp $ */
/*
@@ -250,13 +250,11 @@ union mcluster {
} \
)
-#ifdef INET6
/*
* For cluster mbufs (regardless of header or not).
*/
#define MCL_ALIGN(m, len) \
{ (m)->m_data += (MCLBYTES - (len)) &~ (sizeof(long) -1); }
-#endif /* INET6 */
/*
* MFREE(struct mbuf *m, struct mbuf *n)