X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2FsfmP.h;h=c127b85e71c5b366123e564df1fdb9c3cc74043b;hb=64f58bbdab17e4a09b725e713f4f82f567f44076;hp=29e8c7cff091c4c2a5aab598873945b2ce885d73;hpb=05e356b2a3087e819ef3b5388e29c822f41502e1;p=pspp-builds.git diff --git a/src/sfmP.h b/src/sfmP.h index 29e8c7cf..c127b85e 100644 --- a/src/sfmP.h +++ b/src/sfmP.h @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ /* PORTME: There might easily be alignment problems with some of these structures. */ @@ -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. */