summaryrefslogtreecommitdiff
path: root/test/nw_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nw_misc.c')
-rw-r--r--test/nw_misc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/nw_misc.c b/test/nw_misc.c
index 2c1e5e2b..b45f9516 100644
--- a/test/nw_misc.c
+++ b/test/nw_misc.c
@@ -1,4 +1,6 @@
+#include <stdio.h>
#include <stdlib.h>
+#include <screen.h>
/*
#include "testutil.h"
*/
@@ -6,6 +8,7 @@
/* function to keep the screen open if not launched from bash */
void _NonAppStop( void )
{
+ if (getenv("_IN_NETWARE_BASH_") == NULL) {
printf("\r\n<Press any key to close screen> ");
getcharacter();
}