]> mj.ucw.cz Git - libucw.git/commitdiff
Added a guard against double inclusion (out-of-order merge from v3.8).
authorMartin Mares <mj@ucw.cz>
Thu, 6 Apr 2006 21:33:19 +0000 (23:33 +0200)
committerMartin Mares <mj@ucw.cz>
Thu, 6 Apr 2006 21:33:19 +0000 (23:33 +0200)
lib/bitarray.h

index 04ac582d04a3ecea43938c351081159383facf9c..724804154e58349b94bca592667edd2d0b200949 100644 (file)
@@ -7,6 +7,9 @@
  *     of the GNU Lesser General Public License.
  */
 
+#ifndef _UCW_BITARRAY_H
+#define _UCW_BITARRAY_H
+
 #include <string.h>
 
 typedef u32 *bitarray_t;
@@ -100,3 +103,5 @@ bit_array_test_and_clear(bitarray_t a, uns i)
 #define BIT_ARRAY_FISH_BITS_END                                                        \
          while (0);                                                            \
        }
+
+#endif