aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat/xentop/xentop.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xenstat/xentop/xentop.c')
-rw-r--r--tools/xenstat/xentop/xentop.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c
index b890829459..60cf607794 100644
--- a/tools/xenstat/xentop/xentop.c
+++ b/tools/xenstat/xentop/xentop.c
@@ -18,7 +18,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <curses.h>
+
+/* Include output from configure */
+#include <config.h>
+
+/* get curses header from configure */
+#include INCLUDE_CURSES_H
+
#include <ctype.h>
#include <errno.h>
#include <stdio.h>