#include <config.h>
#include <stdio.h>
+#include <sys/types.h>
#ifdef _WIN32
#undef snprintf
}
return needed;
}
+
+int
+fseeko(FILE *stream, off_t offset, int whence)
+{
+ int error;
+ error = _fseeki64(stream, offset, whence);
+ if (error) {
+ return -1;
+ }
+ return error;
+}
#endif /* _WIN32 */