From 775789fbd5c4f3aa93061480cd64e61daf7fb689 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 4 Aug 2024 09:54:31 +0100 Subject: [PATCH] Rename header guards on compat/queue.h to avoid it conflicting if the system header is included first. This matters on some platforms (macOS) where queue.h is old. From Saagar Jha in GitHub issue 4041. --- compat/queue.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compat/queue.h b/compat/queue.h index a20532cd..1f290cef 100644 --- a/compat/queue.h +++ b/compat/queue.h @@ -32,8 +32,8 @@ * @(#)queue.h 8.5 (Berkeley) 8/20/94 */ -#ifndef _SYS_QUEUE_H_ -#define _SYS_QUEUE_H_ +#ifndef _COMPAT_QUEUE_H_ +#define _COMPAT_QUEUE_H_ /* * This file defines five types of data structures: singly-linked lists, @@ -530,4 +530,4 @@ struct { \ } \ } while (0) -#endif /* !_SYS_QUEUE_H_ */ +#endif /* !_COMPAT_QUEUE_H_ */