diff options
Diffstat (limited to 'net-mgmt/tcpreplay/files/patch-lib_queue.h')
-rw-r--r-- | net-mgmt/tcpreplay/files/patch-lib_queue.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-mgmt/tcpreplay/files/patch-lib_queue.h b/net-mgmt/tcpreplay/files/patch-lib_queue.h new file mode 100644 index 000000000000..8159c28745ae --- /dev/null +++ b/net-mgmt/tcpreplay/files/patch-lib_queue.h @@ -0,0 +1,18 @@ +--- lib/queue.h.orig 2025-08-27 06:21:35 UTC ++++ lib/queue.h +@@ -36,7 +36,8 @@ + * @(#)queue.h 8.5 (Berkeley) 8/20/94 + */ + +-#pragma once ++#ifndef _SYS_QUEUE_H_ ++#define _SYS_QUEUE_H_ + + /* + * This file defines five types of data structures: singly-linked lists, +@@ -506,3 +507,5 @@ struct { \ + else \ + (elm2)->field.cqe_prev->field.cqe_next = (elm2); \ + } while (0) ++ ++#endif /* !_SYS_QUEUE_H_ */ |