From a2aedf95d8f6ea7ecff3dc2c2f8db4a20e42e9d0 Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Mon, 9 Mar 2009 12:58:16 +0100 Subject: gallium: Fix p_refcnt.h for C++ compilers. --- src/gallium/include/pipe/p_refcnt.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/include/pipe/p_refcnt.h') diff --git a/src/gallium/include/pipe/p_refcnt.h b/src/gallium/include/pipe/p_refcnt.h index 50b7aa90ef..27b4e8fbfe 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 */ -- cgit v1.2.3