diff -urNp motion-release-4.1.1-orig/motion.c motion-release-4.1.1-dwok/motion.c --- motion-release-4.1.1-orig/motion.c 2019-08-21 16:21:22.536518845 +0200 +++ motion-release-4.1.1-dwok/motion.c 2019-08-21 16:22:54.777276076 +0200 @@ -1143,7 +1143,7 @@ static int motion_init(struct context *c return -2; } #if (defined(MYSQL_VERSION_ID)) && (MYSQL_VERSION_ID > 50012) - my_bool my_true = TRUE; + bool my_true = TRUE; mysql_options(cnt->database, MYSQL_OPT_RECONNECT, &my_true); #endif }