--- src/motion.h.orig 2019-01-13 19:59:18.435631124 +0000 +++ src/motion.h 2019-01-13 20:00:13.337299546 +0000 @@ -19,6 +19,10 @@ /* Includes */ #ifdef HAVE_MYSQL #include + +#if defined(bool) && !defined(my_bool) +#define my_bool bool +#endif #endif #ifdef HAVE_SQLITE3