about summary refs log tree commit diff stats
path: root/src/LYexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYexit.c')
-rw-r--r--src/LYexit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LYexit.c b/src/LYexit.c
index 9d4fd0f2..02ad6fa6 100644
--- a/src/LYexit.c
+++ b/src/LYexit.c
@@ -3,6 +3,7 @@
  */
 #include <HTUtils.h>
 #include <LYexit.h>
+#include <HTAlert.h>
 #ifndef VMS
 #include <LYGlobalDefs.h>
 #include <LYUtils.h>
@@ -124,7 +125,7 @@ PUBLIC void LYexit ARGS1(
 	 *  Deal with curses, if on, and clean up. - FM
 	 */
 	if (LYCursesON) {
-	    sleep(AlertSecs);
+	    LYSleepAlert();
 	}
 	cleanup_sig(0);
 #ifndef __linux__