summaryrefslogtreecommitdiffstats
path: root/src/util/build_id.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-03-20 16:04:40 +0000
committerEmil Velikov <[email protected]>2017-03-22 16:55:22 +0000
commitd542d2fc13fd67a444c202b706fa44a34cc53c90 (patch)
tree187babbff7c2b13a9db00334ba8884c83504802f /src/util/build_id.h
parent43a9ca8eb42884e2386a4ff8cda5fa4b925b290e (diff)
util: consistently use ifndef guards over pragma once
Signed-off-by: Emil Velikov <[email protected]> Acked-by: Vedran Miletić <[email protected]> Acked-by: Juha-Pekka Heikkila <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/util/build_id.h')
-rw-r--r--src/util/build_id.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/build_id.h b/src/util/build_id.h
index 551ac6989bc..18641c44af2 100644
--- a/src/util/build_id.h
+++ b/src/util/build_id.h
@@ -21,6 +21,9 @@
* IN THE SOFTWARE.
*/
+#ifndef BUILD_ID_H
+#define BUILD_ID_H
+
#ifdef HAVE_DL_ITERATE_PHDR
struct build_id_note;
@@ -35,3 +38,5 @@ const uint8_t *
build_id_data(const struct build_id_note *note);
#endif
+
+#endif /* BUILD_ID_H */