Loading...
--- Libc/Libc-1725.40.4/exclave/sys/stat.h
+++ Libc/Libc-1583.60.2/exclave/sys/stat.h
@@ -70,9 +70,10 @@
#ifndef _SYS_STAT_H_
#define _SYS_STAT_H_
+#if defined(ENABLE_EXCLAVE_STORAGE)
+
#include <sys/cdefs.h>
#include <sys/types.h>
-#include <time.h>
struct stat {
dev_t st_dev; /* [XSI] ID of device containing file */
@@ -286,8 +287,6 @@
#define EF_SHARES_ALL_BLOCKS 0x00000040 /* file shares all of its blocks with another file */
#endif
-#if defined(ENABLE_EXCLAVE_STORAGE)
-
__BEGIN_DECLS
int fstat(int, struct stat *);