X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2FsfmP.h;h=c127b85e71c5b366123e564df1fdb9c3cc74043b;hb=92fb12eb06716d14c05b781f5d9dcde956d77c30;hp=443d51960133409ff304783642354216b9e63cd0;hpb=4fdeb2145d081ff1b84e3f6c99f9d1c048c0d64a;p=pspp diff --git a/src/sfmP.h b/src/sfmP.h index 443d519601..c127b85e71 100644 --- a/src/sfmP.h +++ b/src/sfmP.h @@ -55,6 +55,7 @@ #endif /* Figure out SYSMIS value for flt64. */ +#include "magic.h" #if SIZEOF_DOUBLE == 8 #define second_lowest_flt64 second_lowest_value #else @@ -67,7 +68,8 @@ struct sysfile_header char rec_type[4] P; /* 00: Record-type code, "$FL2". */ char prod_name[60] P; /* 04: Product identification. */ int32 layout_code P; /* 40: 2. */ - int32 case_size P; /* 44: Number of `value's per case. */ + int32 case_size P; /* 44: Number of `value's per case. + Note: some systems set this to -1 */ int32 compress P; /* 48: 1=compressed, 0=not compressed. */ int32 weight_idx P; /* 4c: 1-based index of weighting var, or 0. */ int32 case_cnt P; /* 50: Number of cases, -1 if unknown. */