]> git.lyx.org Git - lyx.git/blobdiff - src/support/abort.C
hopefully fix tex2lyx linking.
[lyx.git] / src / support / abort.C
index 13623091851a92a8dca448bcf27e0892480ed46c..f598264f3e193cea99617dfad2fbaad8099625d3 100644 (file)
@@ -3,18 +3,27 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
-#include <stdlib.h>
-
 #include "support/lyxlib.h"
 
-void lyx::abort()
+
+namespace lyx {
+
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
+
+
+void lyx::support::abort()
 {
        ::abort();
 }
+
+
+} // namespace lyx