summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Warner <james.warner@comcast.net>2011-11-03 17:23:21 -0500
committerCraig Small <csmall@enc.com.au>2011-12-22 23:48:05 +1100
commit3e6d1c4ee0ef0f83fa93b6dc47623c7c7d3882a2 (patch)
tree6dffbe2e2625b991ff09ffdd6325ec0c4ff22ed8
parent04e3ec75ddf141099963a48a003dc05ec034716c (diff)
downloadprocps-ng-3e6d1c4ee0ef0f83fa93b6dc47623c7c7d3882a2.tar.gz
top: added <stdlib.h> for VALIDATE_NLS which requires exit()
-rw-r--r--top/top_nls.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/top/top_nls.c b/top/top_nls.c
index 32bb822..ff0be26 100644
--- a/top/top_nls.c
+++ b/top/top_nls.c
@@ -19,6 +19,9 @@
#include <locale.h>
#include <stdio.h>
+#ifdef VALIDATE_NLS
+#include <stdlib.h>
+#endif
#include <string.h>
#include "../include/nls.h"