shithub: scc

Download patch

ref: faece1aea4d1b6c59024ae154077486d6f3d445a
parent: 4f219193c028b5e3b35d7317c2ead65b0f721b5e
author: Roberto E. Vargas Caballero <[email protected]>
date: Sat Feb 18 15:32:49 EST 2017

[libc] Add fpost_t to stdio.h

--- a/libc/include/bits/amd64-sysv/arch/stdio.h
+++ b/libc/include/bits/amd64-sysv/arch/stdio.h
@@ -16,3 +16,4 @@
 #define L_tmpnam      256
 
 typedef struct _FILE FILE;
+typedef int fpos_t;
--- a/libc/include/bits/i386-sysv/arch/stdio.h
+++ b/libc/include/bits/i386-sysv/arch/stdio.h
@@ -16,3 +16,4 @@
 #define L_tmpnam      256
 
 typedef struct _FILE FILE;
+typedef long fpos_t;
--- a/libc/include/bits/qbe/arch/stdio.h
+++ b/libc/include/bits/qbe/arch/stdio.h
@@ -16,3 +16,4 @@
 #define L_tmpnam      256
 
 typedef struct _FILE FILE;
+typedef int fpos_t;
--- a/libc/include/bits/z80/arch/stdio.h
+++ b/libc/include/bits/z80/arch/stdio.h
@@ -16,3 +16,4 @@
 #define L_tmpnam      256
 
 typedef struct _FILE FILE;
+typedef long fpos_t;