]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Alert.C
This commit saves the need to check for lyx::use_gui in a number of places.
[lyx.git] / src / frontends / Alert.C
index 1f482ddf8dc828b2e454c20cc3579ab15f9b97b0..0bb83d181af560a00d488e5a3c426cb3794d2491 100644 (file)
@@ -14,6 +14,7 @@
 #include "Alert_pimpl.h"
 
 #include "debug.h"
+#include "lyx_main.h" // for lyx::use_gui
 
 using lyx::docstring;
 
@@ -25,8 +26,6 @@ using std::string;
 
 namespace lyx {
 
-extern bool use_gui;
-
 namespace frontend {
 
 int Alert::prompt(docstring const & title, docstring const & question,