diff --git a/lib/index.hpp b/lib/index.hpp
index b54cc3e..3ce48a6 100644
--- a/lib/index.hpp
+++ b/lib/index.hpp
@@ -28,6 +28,11 @@ along with this program. If not, see .
#define __COMFORTABLE_SWIPE__CONFIG__ "/usr/local/share/comfortable-swipe/comfortable-swipe.conf"
#endif /* __COMFORTABLE_SWIPE__CONFIG__ */
+#ifndef COMFORTABLE_SWIPE_VERSION
+#warning COMFORTABLE_SWIPE_VERSION is not defined
+#define COMFORTABLE_SWIPE_VERSION "v(UNKNOWN)"
+#endif /* COMFORTABLE_SWIPE_VERSION */
+
#include