X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibc.so_src%2Finclude_exp%2Fstdio.h;h=074cd2548234c92efe82506b0948ad9e609ce2c1;hb=bdefac5f54668fcccff11a69619ff31b25595eeb;hp=4a81c18bbc3ebc3467d447fe7d9eb556ecc88588;hpb=df8ced739e79757e9c96bd8ae184f0857574c0d6;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libc.so_src/include_exp/stdio.h b/Usermode/Libraries/libc.so_src/include_exp/stdio.h index 4a81c18b..074cd254 100644 --- a/Usermode/Libraries/libc.so_src/include_exp/stdio.h +++ b/Usermode/Libraries/libc.so_src/include_exp/stdio.h @@ -5,8 +5,9 @@ #ifndef __STDIO_H #define __STDIO_H -#include +#include #include +#include // size_t /* === Types === */ typedef struct sFILE FILE; @@ -15,6 +16,12 @@ typedef struct sFILE FILE; #define EOF (-1) #define BUFSIZ 1024 +#ifndef SEEK_CUR +#define SEEK_CUR 1 +#define SEEK_SET 0 +#define SEEK_END (-1) +#endif + /* --- Standard IO --- */ extern int printf(const char *format, ...); extern int vsnprintf(char *buf, size_t __maxlen, const char *format, va_list args);