summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"