diff options
author | Jim Warner <james.warner@comcast.net> | 2011-11-03 17:23:21 -0500 |
---|---|---|
committer | Craig Small <csmall@enc.com.au> | 2011-12-22 23:48:05 +1100 |
commit | 3e6d1c4ee0ef0f83fa93b6dc47623c7c7d3882a2 (patch) | |
tree | 6dffbe2e2625b991ff09ffdd6325ec0c4ff22ed8 | |
parent | 04e3ec75ddf141099963a48a003dc05ec034716c (diff) | |
download | procps-ng-3e6d1c4ee0ef0f83fa93b6dc47623c7c7d3882a2.tar.gz |
top: added <stdlib.h> for VALIDATE_NLS which requires exit()
-rw-r--r-- | top/top_nls.c | 3 |
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" |