]> granicus.if.org Git - procps-ng/commitdiff
top: added <stdlib.h> for VALIDATE_NLS which requires exit()
authorJim Warner <james.warner@comcast.net>
Thu, 3 Nov 2011 22:23:21 +0000 (17:23 -0500)
committerCraig Small <csmall@enc.com.au>
Thu, 22 Dec 2011 12:48:05 +0000 (23:48 +1100)
top/top_nls.c

index 32bb822cbb3e440ebbcab290eb44a4780ee27f91..ff0be26983a4ca1a32c7001ed163e4d5dcddde04 100644 (file)
@@ -19,6 +19,9 @@
 
 #include <locale.h>
 #include <stdio.h>
+#ifdef VALIDATE_NLS
+#include <stdlib.h>
+#endif
 #include <string.h>
 
 #include "../include/nls.h"