summaryrefslogtreecommitdiff
path: root/net/irrtoolset-nox11/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/irrtoolset-nox11/patches/patch-aa')
-rw-r--r--net/irrtoolset-nox11/patches/patch-aa17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/irrtoolset-nox11/patches/patch-aa b/net/irrtoolset-nox11/patches/patch-aa
new file mode 100644
index 00000000000..d99e7aed9a0
--- /dev/null
+++ b/net/irrtoolset-nox11/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/02/28 12:37:29 spz Exp $
+
+--- src/config.h.in.orig 2002-04-09 13:48:44.000000000 +0200
++++ src/config.h.in
+@@ -224,4 +224,11 @@
+ #include <typeinfo>
+ #endif /* __cplusplus */
+
++#ifndef __P
++# if defined __cplusplus || defined __STDC__
++# define __P(args) args
++# else
++# define __P(args) ()
++# endif
++#endif
+ #endif /* CONFIG_H */
+