From 275b929e0157c7e40a66df108b1e1954b59a2bdf Mon Sep 17 00:00:00 2001
From: Paul Fox <pgf@brightstareng.com>
Date: Thu, 20 Mar 2008 16:05:02 +0000
Subject: [PATCH] let top build without TERMIOS enabled

---
 procps/top.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/procps/top.c b/procps/top.c
index 85ceaccf7..e3f91c8f9 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -933,6 +933,8 @@ int top_main(int argc ATTRIBUTE_UNUSED, char **argv)
 	} /* end of "while (1)" */
 
 	bb_putchar('\n');
+#if ENABLE_FEATURE_USE_TERMIOS
 	reset_term();
+#endif
 	return EXIT_SUCCESS;
 }