diff options
Diffstat (limited to 'include/mingw.h')
-rw-r--r-- | include/mingw.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index 53a0a0d67..85c97b702 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -235,6 +235,10 @@ int mingw_fstat(int fd, struct stat *buf); | |||
235 | /* | 235 | /* |
236 | * sys/time.h | 236 | * sys/time.h |
237 | */ | 237 | */ |
238 | struct timespec { | ||
239 | time_t tv_sec; | ||
240 | long int tv_nsec; | ||
241 | }; | ||
238 | struct itimerval { | 242 | struct itimerval { |
239 | struct timeval it_value, it_interval; | 243 | struct timeval it_value, it_interval; |
240 | }; | 244 | }; |
@@ -285,7 +289,7 @@ IMPL(getuid,int,1,void); | |||
285 | int fcntl(int fd, int cmd, ...); | 289 | int fcntl(int fd, int cmd, ...); |
286 | #define fork() -1 | 290 | #define fork() -1 |
287 | IMPL(fsync,int,0,int fd UNUSED_PARAM); | 291 | IMPL(fsync,int,0,int fd UNUSED_PARAM); |
288 | NOIMPL(kill,pid_t pid UNUSED_PARAM, int sig UNUSED_PARAM); | 292 | int kill(pid_t pid, int sig); |
289 | int link(const char *oldpath, const char *newpath); | 293 | int link(const char *oldpath, const char *newpath); |
290 | NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM); | 294 | NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM); |
291 | int mingw_open (const char *filename, int oflags, ...); | 295 | int mingw_open (const char *filename, int oflags, ...); |