mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 11:55:56 +00:00
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.
This commit is contained in:
parent
109d2bda1a
commit
775789fbd5
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user