Implemented long variable names a la spss V12.
[pspp-builds.git] / src / modify-vars.c
index aab05c6e0e029083241123c0cfa3e19e5c82cc89..4911664d92870846784613a1bd9505f35e960432 100644 (file)
@@ -24,6 +24,7 @@
 #include "alloc.h"
 #include "bitvector.h"
 #include "command.h"
+#include "dictionary.h"
 #include "error.h"
 #include "hash.h"
 #include "lexer.h"
@@ -357,7 +358,7 @@ compare_variables_given_ordering (const void *a_, const void *b_,
 struct var_renaming
   {
     struct variable *var;
-    char new_name[9];
+    char new_name[SHORT_NAME_LEN + 1];
   };
 
 /* A algo_compare_func that compares new_name members in struct