summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-28 22:31:21 -0400
committerIan Moffett <ian@osmora.org>2024-05-28 22:31:21 -0400
commit8728cc9812524e7f37bb4fbe2f48da724c0d8a88 (patch)
tree42a58b96961123810929830d6c992ec246392bfc /sys/include
parent6e1634015fa6df1213d7fbaa3b0c2e7b34f08ef2 (diff)
kernel: queue: Add missing header guard
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/queue.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/include/sys/queue.h b/sys/include/sys/queue.h
index ee5c96b..60231f4 100644
--- a/sys/include/sys/queue.h
+++ b/sys/include/sys/queue.h
@@ -29,6 +29,9 @@
#include <sys/types.h>
+#ifndef _QUEUE_H_
+#define _QUEUE_H_
+
#define _Q_INVALIDATE(a)
/*
@@ -167,3 +170,4 @@ struct { \
TAILQ_INIT((head2)); \
} \
} while (0)
+#endif /* _QUEUE_H_ */