mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
util: add missing extern C
This code is included in c++ code via disk_cache in theory, in practice it never has been. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6035>
This commit is contained in:
parent
6436e3ac18
commit
14bc2dcaae
1 changed files with 7 additions and 0 deletions
|
|
@ -24,6 +24,10 @@
|
|||
#ifndef BUILD_ID_H
|
||||
#define BUILD_ID_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_DL_ITERATE_PHDR
|
||||
|
||||
#include <stdint.h>
|
||||
|
|
@ -41,4 +45,7 @@ build_id_data(const struct build_id_note *note);
|
|||
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* BUILD_ID_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue