aboutsummaryrefslogtreecommitdiff
path: root/include/mingw.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mingw.h')
-rw-r--r--include/mingw.h6
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 */
238struct timespec {
239 time_t tv_sec;
240 long int tv_nsec;
241};
238struct itimerval { 242struct 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);
285int fcntl(int fd, int cmd, ...); 289int fcntl(int fd, int cmd, ...);
286#define fork() -1 290#define fork() -1
287IMPL(fsync,int,0,int fd UNUSED_PARAM); 291IMPL(fsync,int,0,int fd UNUSED_PARAM);
288NOIMPL(kill,pid_t pid UNUSED_PARAM, int sig UNUSED_PARAM); 292int kill(pid_t pid, int sig);
289int link(const char *oldpath, const char *newpath); 293int link(const char *oldpath, const char *newpath);
290NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM); 294NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM);
291int mingw_open (const char *filename, int oflags, ...); 295int mingw_open (const char *filename, int oflags, ...);