From: Antoine Verheijen Date: Fri, 8 Jul 2011 17:13:59 +0000 (-0600) Subject: OpenBSD: Add header for X-Git-Tag: upstream/1.6.0.pre7^2~12 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0d344bfd855c0522437328da630de1301ecc51ee;p=packages%2Fo%2Fopenafs.git 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). Reviewed-on: http://gerrit.openafs.org/4956 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear (cherry picked from commit 3559e5c8edd90ffb17e8f3b722ff014654bae336) Change-Id: I75103e0fb327fec91ae00647598450a30cc2cf23 Reviewed-on: http://gerrit.openafs.org/4980 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/config/param.obsd42.h b/src/config/param.obsd42.h index 50ddaf9d7..ee1834bf0 100644 --- a/src/config/param.obsd42.h +++ b/src/config/param.obsd42.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.obsd43.h b/src/config/param.obsd43.h index a792d0351..b3458baa4 100644 --- a/src/config/param.obsd43.h +++ b/src/config/param.obsd43.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.obsd44.h b/src/config/param.obsd44.h index 6f87cf35c..6cb67b5e1 100644 --- a/src/config/param.obsd44.h +++ b/src/config/param.obsd44.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.obsd45.h b/src/config/param.obsd45.h index c4758acde..dfcc8d010 100644 --- a/src/config/param.obsd45.h +++ b/src/config/param.obsd45.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.obsd46.h b/src/config/param.obsd46.h index c77f51a09..6a009f0e1 100644 --- a/src/config/param.obsd46.h +++ b/src/config/param.obsd46.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.obsd47.h b/src/config/param.obsd47.h index fdfc1bb72..1b93b573d 100644 --- a/src/config/param.obsd47.h +++ b/src/config/param.obsd47.h @@ -54,6 +54,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 caba4f093..ef5ed4ccd 100644 --- a/src/config/param.obsd48.h +++ b/src/config/param.obsd48.h @@ -55,6 +55,10 @@ #include #endif +#ifndef TAILQ_ENTRY +#include +#endif + /* Extra kernel definitions (from kdefs file) */ #ifdef _KERNEL #ifdef MULTIPROCESSOR