From f236ca2741f29b5c443c0b2db3aa9afb9ad9befe Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 24 Jan 2019 09:50:58 +1100 Subject: Also undef SIMPLEQ_FOREACH_SAFE. Prevents macro redefinition warning on at least NetBSD 6.1. --- openbsd-compat/sys-queue.h | 1 + 1 file changed, 1 insertion(+) diff --git a/openbsd-compat/sys-queue.h b/openbsd-compat/sys-queue.h index af93d681..5108f394 100644 --- a/openbsd-compat/sys-queue.h +++ b/openbsd-compat/sys-queue.h @@ -81,6 +81,7 @@ #undef SIMPLEQ_EMPTY #undef SIMPLEQ_NEXT #undef SIMPLEQ_FOREACH +#undef SIMPLEQ_FOREACH_SAFE #undef SIMPLEQ_INIT #undef SIMPLEQ_INSERT_HEAD #undef SIMPLEQ_INSERT_TAIL -- cgit v1.2.3