projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util: added missing headers in anon-file
[mesa.git]
/
src
/
util
/
build_id.h
diff --git
a/src/util/build_id.h
b/src/util/build_id.h
index 551ac6989bc061edfe615e1b4a3158648f6799b5..1872ca5c7e5a9c67115ada719ef278fce8e30305 100644
(file)
--- a/
src/util/build_id.h
+++ b/
src/util/build_id.h
@@
-21,12
+21,17
@@
* IN THE SOFTWARE.
*/
* IN THE SOFTWARE.
*/
+#ifndef BUILD_ID_H
+#define BUILD_ID_H
+
#ifdef HAVE_DL_ITERATE_PHDR
#ifdef HAVE_DL_ITERATE_PHDR
+#include <stdint.h>
+
struct build_id_note;
const struct build_id_note *
struct build_id_note;
const struct build_id_note *
-build_id_find_nhdr
(const char *filename
);
+build_id_find_nhdr
_for_addr(const void *addr
);
unsigned
build_id_length(const struct build_id_note *note);
unsigned
build_id_length(const struct build_id_note *note);
@@
-35,3
+40,5
@@
const uint8_t *
build_id_data(const struct build_id_note *note);
#endif
build_id_data(const struct build_id_note *note);
#endif
+
+#endif /* BUILD_ID_H */