diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 3 | ||||
-rw-r--r-- | include/mingw.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 31e733d77..e82954fd0 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1466,6 +1466,9 @@ typedef struct procps_status_t { | |||
1466 | #if ENABLE_FEATURE_TOP_SMP_PROCESS | 1466 | #if ENABLE_FEATURE_TOP_SMP_PROCESS |
1467 | int last_seen_on_cpu; | 1467 | int last_seen_on_cpu; |
1468 | #endif | 1468 | #endif |
1469 | #if ENABLE_PLATFORM_MINGW32 | ||
1470 | HANDLE snapshot; | ||
1471 | #endif | ||
1469 | } procps_status_t; | 1472 | } procps_status_t; |
1470 | /* flag bits for procps_scan(xx, flags) calls */ | 1473 | /* flag bits for procps_scan(xx, flags) calls */ |
1471 | enum { | 1474 | enum { |
diff --git a/include/mingw.h b/include/mingw.h index e7c385ec6..85c97b702 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -289,7 +289,7 @@ IMPL(getuid,int,1,void); | |||
289 | int fcntl(int fd, int cmd, ...); | 289 | int fcntl(int fd, int cmd, ...); |
290 | #define fork() -1 | 290 | #define fork() -1 |
291 | IMPL(fsync,int,0,int fd UNUSED_PARAM); | 291 | IMPL(fsync,int,0,int fd UNUSED_PARAM); |
292 | NOIMPL(kill,pid_t pid UNUSED_PARAM, int sig UNUSED_PARAM); | 292 | int kill(pid_t pid, int sig); |
293 | int link(const char *oldpath, const char *newpath); | 293 | int link(const char *oldpath, const char *newpath); |
294 | 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); |
295 | int mingw_open (const char *filename, int oflags, ...); | 295 | int mingw_open (const char *filename, int oflags, ...); |