On OpenBSD, the <sys/lockf.h> header requires the TAILQ_* macros
which are defined in <sys/queue.h>. The latter is not automatically
included by <sys/lockf.h> . 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 <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit
3559e5c8edd90ffb17e8f3b722ff014654bae336)
Change-Id: I75103e0fb327fec91ae00647598450a30cc2cf23
Reviewed-on: http://gerrit.openafs.org/4980
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
#include <afs/afs_sysnames.h>
#endif
+#ifndef TAILQ_ENTRY
+#include <sys/queue.h>
+#endif
+
/* Extra kernel definitions (from kdefs file) */
#ifdef _KERNEL
#ifdef MULTIPROCESSOR
#include <afs/afs_sysnames.h>
#endif
+#ifndef TAILQ_ENTRY
+#include <sys/queue.h>
+#endif
+
/* Extra kernel definitions (from kdefs file) */
#ifdef _KERNEL
#ifdef MULTIPROCESSOR
#include <afs/afs_sysnames.h>
#endif
+#ifndef TAILQ_ENTRY
+#include <sys/queue.h>
+#endif
+
/* Extra kernel definitions (from kdefs file) */
#ifdef _KERNEL
#ifdef MULTIPROCESSOR
#include <afs/afs_sysnames.h>
#endif
+#ifndef TAILQ_ENTRY
+#include <sys/queue.h>
+#endif
+
/* Extra kernel definitions (from kdefs file) */
#ifdef _KERNEL
#ifdef MULTIPROCESSOR
#include <afs/afs_sysnames.h>
#endif
+#ifndef TAILQ_ENTRY
+#include <sys/queue.h>
+#endif
+
/* Extra kernel definitions (from kdefs file) */
#ifdef _KERNEL
#ifdef MULTIPROCESSOR
#include <afs/afs_sysnames.h>
#endif
+#ifndef TAILQ_ENTRY
+#include <sys/queue.h>
+#endif
+
/* Extra kernel definitions (from kdefs file) */
#ifdef _KERNEL
#ifdef MULTIPROCESSOR
#include <afs/afs_sysnames.h>
#endif
+#ifndef TAILQ_ENTRY
+#include <sys/queue.h>
+#endif
+
/* Extra kernel definitions (from kdefs file) */
#ifdef _KERNEL
#ifdef MULTIPROCESSOR