summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cpio/fnmatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cpio/fnmatch.h')
-rw-r--r--gnu/usr.bin/cpio/fnmatch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/cpio/fnmatch.h b/gnu/usr.bin/cpio/fnmatch.h
index 4579c9fc721..ff6d42fed84 100644
--- a/gnu/usr.bin/cpio/fnmatch.h
+++ b/gnu/usr.bin/cpio/fnmatch.h
@@ -24,7 +24,7 @@ extern "C" {
#endif
#if defined (__cplusplus) || (defined (__STDC__) && __STDC__)
-#ifndef __NetBSD__
+#if !(defined(_NetBSD__) || defined(__OpenBSD__))
#undef __P
#define __P(args) args
#else