Fixed bug #11227 (T-Test not working with alpha independent variable )
[pspp-builds.git] / src / flip.c
index 2ded1ed37ba2efbe67199c2910a644df746f2b09..7113c8e85b8ea24464dcf67935f6e0101f50d339 100644 (file)
@@ -24,6 +24,9 @@
 #include <float.h>
 #include <limits.h>
 #include <stdlib.h>
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
 #include "alloc.h"
 #include "case.h"
 #include "command.h"
@@ -416,10 +419,10 @@ flip_file (struct flip_pgm *flip)
 
 #ifndef HAVE_FSEEKO
 #define fseeko fseek
+#endif
 
-#ifndef off_t
+#ifndef HAVE_OFF_T
 #define off_t long int
-#endif
 #endif
 
          if (fseeko (output_file,