summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-01-24 09:50:58 +1100
committerDarren Tucker <dtucker@dtucker.net>2019-01-24 10:07:03 +1100
commitf236ca2741f29b5c443c0b2db3aa9afb9ad9befe (patch)
tree4ee970d2c1a81b8e5ce1b429436f316b534753f3
parentbe063945e4e7d46b1734d973bf244c350fae172a (diff)
Also undef SIMPLEQ_FOREACH_SAFE.
Prevents macro redefinition warning on at least NetBSD 6.1.
-rw-r--r--openbsd-compat/sys-queue.h1
1 files changed, 1 insertions, 0 deletions
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