Replace off_t with file_offset_t
[debian/pforth] / csrc / pf_types.h
index ac4f33be79f9235a3e14e7c31af40406d23e85bc..619a2c0baca0dc64cf5e78b7d9c7158ef3a56719 100644 (file)
 ** Type Declarations
 ***************************************************************/
 
+#ifndef AMIGA
+#include <sys/types.h>
+#endif
+
+/* file_offset_t is used in place of off_t */
+typedef long file_offset_t;
+
 #ifndef Err
     typedef long Err;
 #endif