From a2aedf95d8f6ea7ecff3dc2c2f8db4a20e42e9d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Mon, 9 Mar 2009 12:58:16 +0100 Subject: [PATCH] gallium: Fix p_refcnt.h for C++ compilers. --- src/gallium/include/pipe/p_refcnt.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/include/pipe/p_refcnt.h b/src/gallium/include/pipe/p_refcnt.h index 50b7aa90ef8..27b4e8fbfed 100644 --- a/src/gallium/include/pipe/p_refcnt.h +++ b/src/gallium/include/pipe/p_refcnt.h @@ -80,5 +80,8 @@ pipe_reference(struct pipe_reference **ptr, struct pipe_reference *reference) return destroy; } +#ifdef __cplusplus +} +#endif #endif /* P_REFCNT_H */