From: Michel Dänzer Date: Mon, 9 Mar 2009 11:58:16 +0000 (+0100) Subject: gallium: Fix p_refcnt.h for C++ compilers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2aedf95d8f6ea7ecff3dc2c2f8db4a20e42e9d0;p=mesa.git gallium: Fix p_refcnt.h for C++ compilers. --- 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 */