summaryrefslogtreecommitdiff
path: root/include/my_bit.h
diff options
context:
space:
mode:
authorMats Kindahl <mats@sun.com>2009-09-23 23:32:31 +0200
committerMats Kindahl <mats@sun.com>2009-09-23 23:32:31 +0200
commitd47710c8dccd295428fa7547720f4a5d7311c413 (patch)
tree571e8400d55e9a1115d6fc07d5b8b67e5a5afc2f /include/my_bit.h
parent124e830125a2964a60d01cf9df68ddc9caa70a0d (diff)
downloadmariadb-git-d47710c8dccd295428fa7547720f4a5d7311c413.tar.gz
WL#5016: Fix header file include guards
Adding header include file guards to files that are missing such.
Diffstat (limited to 'include/my_bit.h')
-rw-r--r--include/my_bit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/my_bit.h b/include/my_bit.h
index 2e464e89049..5cbf4f8b83e 100644
--- a/include/my_bit.h
+++ b/include/my_bit.h
@@ -1,3 +1,6 @@
+#ifndef MY_BIT_INCLUDED
+#define MY_BIT_INCLUDED
+
/*
Some useful bit functions
*/
@@ -107,3 +110,5 @@ extern uint my_count_bits(ulonglong v);
extern uint my_count_bits_ushort(ushort v);
#endif /* HAVE_INLINE */
C_MODE_END
+
+#endif /* MY_BIT_INCLUDED */