diff --git a/include/longlong.h b/include/longlong.h
index e4fe1d241448c98bb37afb9abc5ba30880b7c627..b5dec95b7ed49a2aed72a7dad4a04e7b366a53b1 100644
--- a/include/longlong.h
+++ b/include/longlong.h
@@ -1573,6 +1573,7 @@ extern UHItype __stormy16_count_leading_zeros (UHItype);
       for ((count) = 0, size = W_TYPE_SIZE; size; size -= 16)		\
 	{								\
 	  UHItype c;							\
+	  extern UHItype __clzhi2 (UHItype);				\
 									\
 	  c = __clzhi2 ((x) >> (size - 16));				\
 	  (count) += c;							\