summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/igt_stats.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/igt_stats.h b/lib/igt_stats.h
index 371def33..0d4669ec 100644
--- a/lib/igt_stats.h
+++ b/lib/igt_stats.h
@@ -22,6 +22,9 @@
*
*/
+#ifndef __IGT_STATS_H__
+#define __IGT_STATS_H__
+
#include <stdint.h>
typedef struct {
@@ -38,3 +41,5 @@ void igt_stats_push(igt_stats_t *stats, uint64_t value);
double igt_stats_get_mean(igt_stats_t *stats);
double igt_stats_get_variance(igt_stats_t *stats);
double igt_stats_get_std_deviation(igt_stats_t *stats);
+
+#endif /* __IGT_STATS_H__ */