From d65a3ae8790ae28a90f0ebcf0bc4dc078c67dc35 Mon Sep 17 00:00:00 2001 From: jakob Date: Sun, 19 Feb 2017 20:49:43 -0500 Subject: Implemented eliF parsing. --- src/io.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/io.h') diff --git a/src/io.h b/src/io.h index 87f93b2..a543ae5 100644 --- a/src/io.h +++ b/src/io.h @@ -20,6 +20,7 @@ #pragma once #include +#include #include /* Internal enumerable type for representing the location of a memory @@ -62,7 +63,7 @@ void stream_xor(struct stream *s, uint8_t initial, uint8_t primary); size_t stream_tell(struct stream *s); /* Sets the stream's position indicator to the given `pos`. */ -void stream_seek(struct stream *s, size_t pos); +void stream_seek(struct stream *s, size_t pos, int whence); /* Sets the stream's position indicator to the beginning. */ void stream_rewind(struct stream *s); -- cgit v1.3