Index: uspace/lib/cpp/include/type_traits
===================================================================
--- uspace/lib/cpp/include/type_traits	(revision 9dfdb03555c97b28ed8ae4f47e1dad27a2ab6171)
+++ uspace/lib/cpp/include/type_traits	(revision 72d9e44d55d0dc44406418c3ed7324c40c8a858a)
@@ -36,5 +36,21 @@
 
     template<class T, T v>
-    struct integral_constant;
+    struct integral_constant
+    {
+        static constexpr T value = v;
+
+        using value_type = T;
+        using type       = integral_constant<T, v>;
+
+        constexpr operator value_type() const noexcept
+        {
+            return value;
+        }
+
+        constexpr value_type operator()() const noexcept
+        {
+            return value;
+        }
+    }
 
     using true_type = integral_constant<bool, true>;
