From 3559e5c8edd90ffb17e8f3b722ff014654bae336 Mon Sep 17 00:00:00 2001 From: Antoine Verheijen Date: Fri, 8 Jul 2011 11:13:59 -0600 Subject: [PATCH] OpenBSD: Add header for On OpenBSD, the header requires the TAILQ_* macros which are defined in . The latter is not automatically included by . This patch makes sure that it is available by putting it into the OpenBSD-specific param.h files (so as not to impact any other OS). Change-Id: I8281b085eed2a6dec1f096ad9a6e96078c1e4af0 Reviewed-on: http://gerrit.openafs.org/4956 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/config/param.obsd42.h | 4 ++++ src/config/param.obsd43.h | 4 ++++ src/config/param.obsd44.h | 4 ++++ src/config/param.obsd45.h | 4 ++++ src/config/param.obsd46.h | 4 ++++ src/config/param.obsd47.h | 4 ++++ src/config/param.obsd48.h | 4 ++++ 7 files changed, 28 insertions(+) diff --git a/src/config/param.obsd42.h b/src/config/param.obsd42.h index 698b51255..eb274d790 100644 --- a/src/config/param.obsd42.h +++ b/src/config/param.obsd42.h @@ -49,6 +49,10 @@ #include #endif +#ifndef TAILQ_ENTRY +#include +#endif + /* Extra kernel definitions (from kdefs file) */ #ifdef _KERNEL #ifdef MULTIPROCESSOR diff --git a/src/config/param.obsd43.h b/src/config/param.obsd43.h index e55e9f1dc..aeb475106 100644 --- a/src/config/param.obsd43.h +++ b/src/config/param.obsd43.h @@ -50,6 +50,10 @@ #include #endif +#ifndef TAILQ_ENTRY +#include +#endif + /* Extra kernel definitions (from kdefs file) */ #ifdef _KERNEL #ifdef MULTIPROCESSOR diff --git a/src/config/param.obsd44.h b/src/config/param.obsd44.h index c4f39d117..9302ac742 100644 --- a/src/config/param.obsd44.h +++ b/src/config/param.obsd44.h @@ -51,6 +51,10 @@ #include #endif +#ifndef TAILQ_ENTRY +#include +#endif + /* Extra kernel definitions (from kdefs file) */ #ifdef _KERNEL #ifdef MULTIPROCESSOR diff --git a/src/config/param.obsd45.h b/src/config/param.obsd45.h index d7948877a..69a4075a9 100644 --- a/src/config/param.obsd45.h +++ b/src/config/param.obsd45.h @@ -51,6 +51,10 @@ #include #endif +#ifndef TAILQ_ENTRY +#include +#endif + /* Extra kernel definitions (from kdefs file) */ #ifdef _KERNEL #ifdef MULTIPROCESSOR diff --git a/src/config/param.obsd46.h b/src/config/param.obsd46.h index def8afb2b..8c8139221 100644 --- a/src/config/param.obsd46.h +++ b/src/config/param.obsd46.h @@ -52,6 +52,10 @@ #include #endif +#ifndef TAILQ_ENTRY +#include +#endif + /* Extra kernel definitions (from kdefs file) */ #ifdef _KERNEL #ifdef MULTIPROCESSOR diff --git a/src/config/param.obsd47.h b/src/config/param.obsd47.h index 5b8a1293c..494a8bae6 100644 --- a/src/config/param.obsd47.h +++ b/src/config/param.obsd47.h @@ -53,6 +53,10 @@ #include #endif +#ifndef TAILQ_ENTRY +#include +#endif + /* Extra kernel definitions (from kdefs file) */ #ifdef _KERNEL #ifdef MULTIPROCESSOR diff --git a/src/config/param.obsd48.h b/src/config/param.obsd48.h index 0fcfc9450..f805acecc 100644 --- a/src/config/param.obsd48.h +++ b/src/config/param.obsd48.h @@ -54,6 +54,10 @@ #include #endif +#ifndef TAILQ_ENTRY +#include +#endif + /* Extra kernel definitions (from kdefs file) */ #ifdef _KERNEL #ifdef MULTIPROCESSOR -- 2.39.5