gallium: add PIPE_CAP_RESOURCE_FROM_USER_MEMORY_COMPUTE_ONLY
[mesa.git] / src / gallium / auxiliary / util / u_dl.h
index 80a00ed67963c53822765c73720d5637b23018b7..d2f4737d42a858ace8032b48c4224a91f252741d 100644 (file)
@@ -32,6 +32,9 @@
 
 #include "pipe/p_config.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 #if defined(PIPE_OS_WINDOWS)
 #  define UTIL_DL_EXT ".dll"
@@ -79,5 +82,8 @@ util_dl_close(struct util_dl_library *library);
 const char *
 util_dl_error(void);
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif /* U_DL_H_ */