extensive header cleanup for standards conformance & correctness
thanks to Peter Mazinger (psm) for pointing many of these issues out and submitting a patch on which this commit is loosely based
This commit is contained in:
parent
80695b1d1e
commit
74eea628cf
15 changed files with 64 additions and 56 deletions
|
|
@ -14,11 +14,16 @@ extern "C" {
|
|||
#define __NEED_time_t
|
||||
#define __NEED_blksize_t
|
||||
#define __NEED_blkcnt_t
|
||||
#define __NEED_struct_timespec
|
||||
|
||||
#include <bits/alltypes.h>
|
||||
|
||||
#include <bits/stat.h>
|
||||
|
||||
#define st_atime st_atim.tv_sec
|
||||
#define st_mtime st_mtim.tv_sec
|
||||
#define st_ctime st_ctim.tv_sec
|
||||
|
||||
#define S_IFMT 0170000
|
||||
|
||||
#define S_IFDIR 0040000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue