summaryrefslogtreecommitdiff
path: root/lib/bitops.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bitops.h')
-rw-r--r--lib/bitops.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bitops.h b/lib/bitops.h
index ce13732a..af648c26 100644
--- a/lib/bitops.h
+++ b/lib/bitops.h
@@ -9,6 +9,8 @@
#ifndef _BIRD_BITOPTS_H_
#define _BIRD_BITOPTS_H_
+#include "sysdep/config.h"
+
/*
* Bit mask operations:
*
@@ -19,7 +21,7 @@
*/
u32 u32_mkmask(uint n);
-int u32_masklen(u32 x);
+uint u32_masklen(u32 x);
u32 u32_log2(u32 v);