X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmodify-vars.c;h=4911664d92870846784613a1bd9505f35e960432;hb=b7e33825d30a18360f24a18faf4b7d2e9efb8142;hp=f12cb7ed63e30e32c27f4df0fb833460ce99c686;hpb=74a57f26f1458b28a0fddbb9f46004ac8f4d9c30;p=pspp diff --git a/src/modify-vars.c b/src/modify-vars.c index f12cb7ed63..4911664d92 100644 --- a/src/modify-vars.c +++ b/src/modify-vars.c @@ -19,11 +19,12 @@ #include #include -#include +#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