summaryrefslogtreecommitdiff
path: root/sql/repl_failsafe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r--sql/repl_failsafe.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc
index 4942dd9cfd8..6ef252467c3 100644
--- a/sql/repl_failsafe.cc
+++ b/sql/repl_failsafe.cc
@@ -16,9 +16,9 @@
// Sasha Pachev <sasha@mysql.com> is currently in charge of this file
-#ifndef EMBEDDED_LIBRARY
-
#include "mysql_priv.h"
+#ifdef HAVE_REPLICATION
+
#include "repl_failsafe.h"
#include "sql_repl.h"
#include "slave.h"
@@ -896,5 +896,5 @@ err:
return error;
}
-#endif /* EMBEDDED_LIBRARY */
+#endif /* HAVE_REPLICATION */