Kevin Bowling 2595d78f3d sys/ck.h: Add an include guard
Approved by:	cognet
MFC after:	1 week
Sponsored by:	BBOX.io
Differential Revision:	https://reviews.freebsd.org/D29357
2021-03-21 11:55:52 -07:00

19 lines
316 B
C

/*
* $FreeBSD$
*/
#ifndef _SYS_CK_H_
#define _SYS_CK_H_
#ifdef _KERNEL
#include <ck_queue.h>
#include <ck_epoch.h>
#else
#include <sys/queue.h>
#define CK_STAILQ_HEAD STAILQ_HEAD
#define CK_STAILQ_ENTRY STAILQ_ENTRY
#define CK_LIST_HEAD LIST_HEAD
#define CK_LIST_ENTRY LIST_ENTRY
#endif
#endif /* !_SYS_CK_H_ */