summaryrefslogtreecommitdiffstats
path: root/libgloss/spu/fstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/spu/fstat.c')
-rw-r--r--libgloss/spu/fstat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgloss/spu/fstat.c b/libgloss/spu/fstat.c
index 69316d481..45abeeb02 100644
--- a/libgloss/spu/fstat.c
+++ b/libgloss/spu/fstat.c
@@ -33,6 +33,14 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
#include <sys/stat.h>
#include "jsre.h"
+typedef struct
+{
+ unsigned int file;
+ unsigned int pad0[3];
+ unsigned int ptr;
+ unsigned int pad1[3];
+} syscall_fstat_t;
+
int
fstat (int file, struct stat *pstat)
{