diff --git a/rest-client.cabal b/rest-client.cabal
--- a/rest-client.cabal
+++ b/rest-client.cabal
@@ -1,5 +1,5 @@
 name:                rest-client
-version:             0.5.2.2
+version:             0.5.2.3
 description:         Utility library for use in generated API client libraries.
 synopsis:            Utility library for use in generated API client libraries.
 maintainer:          code@silk.co
@@ -12,6 +12,7 @@
 extra-source-files:
   CHANGELOG.md
   LICENSE
+  src/Rest/Client/overlapping-compat.h
 
 source-repository head
   type:              git
diff --git a/src/Rest/Client/overlapping-compat.h b/src/Rest/Client/overlapping-compat.h
new file mode 100644
--- /dev/null
+++ b/src/Rest/Client/overlapping-compat.h
@@ -0,0 +1,8 @@
+#if __GLASGOW_HASKELL__ >= 710
+#define OVERLAPPABLE_ {-# OVERLAPPABLE #-}
+#define OVERLAPPING_  {-# OVERLAPPING #-}
+#else
+{-# LANGUAGE OverlappingInstances #-}
+#define OVERLAPPABLE_
+#define OVERLAPPING_
+#endif
