summaryrefslogtreecommitdiff
path: root/net/irrtoolset-nox11/patches/patch-ah
blob: 451923760595e02111ab7f6b35ee2abd14ba7074 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ah,v 1.1.1.1 2005/02/28 12:37:29 spz Exp $

--- src/gnug++/std.h.orig	2002-03-27 12:32:57.000000000 +0100
+++ src/gnug++/std.h
@@ -19,7 +19,7 @@ Foundation, 59 Temple Place - Suite 330,
 #ifndef _std_h
 #define _std_h 1
 
-#include <_G_config.h>
+#include <config.h>
 #include <cstddef>
 #include <cstdlib>
 #include <cstring>
@@ -28,8 +28,10 @@ Foundation, 59 Temple Place - Suite 330,
 #include <cerrno>
 #include <fcntl.h>
 
+#ifndef HAVE_STRINGS_H
 extern "C" {
-int strcasecmp _G_ARGS((const char*, const char*));
+int strcasecmp __P((const char*, const char*));
 }
+#endif
 
 #endif