diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,9 @@
+0.2.2
+---
+
+- Update travis configuration (see [#3](https://github.com/fizruk/bindings-lxc/pull/3));
+- Remove superfluous CBool definition (see [#4](https://github.com/fizruk/bindings-lxc/pull/4));
+
 0.2.1
 ---
 * Relax upper bound for `base`
diff --git a/bindings-lxc.cabal b/bindings-lxc.cabal
--- a/bindings-lxc.cabal
+++ b/bindings-lxc.cabal
@@ -1,5 +1,5 @@
 name:                bindings-lxc
-version:             0.2.1
+version:             0.2.2
 synopsis:            Direct Haskell bindings to LXC (Linux containers) C API.
 description:         The package provides direct bindings to LXC C API through @bindings-dsl@.
 
diff --git a/src/Bindings/LXC/Sys/Types.hsc b/src/Bindings/LXC/Sys/Types.hsc
--- a/src/Bindings/LXC/Sys/Types.hsc
+++ b/src/Bindings/LXC/Sys/Types.hsc
@@ -1,3 +1,5 @@
+{-# LANGUAGE CPP #-}
+
 #include <bindings.dsl.h>
 #include <stdlib.h>
 #include <stdint.h>
@@ -16,7 +18,9 @@
 module Bindings.LXC.Sys.Types where
 #strict_import
 
+#if __GLASGOW_HASKELL__ < 802
 type CBool = CInt
+#endif
 
 #integral_t pid_t
 #integral_t uint64_t
