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).
Change-Id: I8281b085eed2a6dec1f096ad9a6e96078c1e4af0
Reviewed-on: http://gerrit.openafs.org/4956
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-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