summaryrefslogtreecommitdiff
path: root/graphics/libart2/patches/patch-aa
blob: 907fb31c1bb69cd76df20ed977ed598c6a6c0a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-aa,v 1.1 2007/03/01 18:05:44 drochner Exp $

--- art_misc.h.orig	2007-03-01 18:50:10.000000000 +0100
+++ art_misc.h
@@ -34,10 +34,18 @@
 #include <libart_lgpl/art_config.h>
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
 void *art_alloc(size_t size);
 void art_free(void *ptr);
 void *art_realloc(void *ptr, size_t size);
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
 /* These aren't, strictly speaking, configuration macros, but they're
    damn handy to have around, and may be worth playing with for
    debugging. */