Oops. Added Changelog headings.
[pspp] / src / modify-vars.c
index f12cb7ed63e30e32c27f4df0fb833460ce99c686..4911664d92870846784613a1bd9505f35e960432 100644 (file)
 
 #include <config.h>
 #include <stdlib.h>
-#include <assert.h>
+#include "error.h"
 #include "algorithm.h"
 #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