summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/sys-queue.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-01-23 23:50:58 +0100
committerDarren Tucker <dtucker@dtucker.net>2019-01-24 00:07:03 +0100
commitf236ca2741f29b5c443c0b2db3aa9afb9ad9befe (patch)
tree4ee970d2c1a81b8e5ce1b429436f316b534753f3 /openbsd-compat/sys-queue.h
parentupstream: allow auto-incrementing certificate serial number for certs (diff)
downloadopenssh-f236ca2741f29b5c443c0b2db3aa9afb9ad9befe.tar.xz
openssh-f236ca2741f29b5c443c0b2db3aa9afb9ad9befe.zip
Also undef SIMPLEQ_FOREACH_SAFE.
Prevents macro redefinition warning on at least NetBSD 6.1.
Diffstat (limited to 'openbsd-compat/sys-queue.h')
-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 af93d6814..5108f394c 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