summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/lib/libiberty/include/ansidecl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libiberty/include/ansidecl.h b/gnu/lib/libiberty/include/ansidecl.h
index 3254c810ca6..57a30b6ae6b 100644
--- a/gnu/lib/libiberty/include/ansidecl.h
+++ b/gnu/lib/libiberty/include/ansidecl.h
@@ -283,7 +283,7 @@ So instead we use the macro below and test it against specific values. */
/* Attribute `nonnull' was valid as of gcc 3.3. */
#ifndef ATTRIBUTE_NONNULL
-# if (GCC_VERSION >= 3003)
+# if (GCC_VERSION >= 3003) || defined(__OpenBSD__)
# define ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m)))
# else
# define ATTRIBUTE_NONNULL(m)