diff options
Diffstat (limited to 'libbb/messages.c')
-rw-r--r-- | libbb/messages.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/messages.c b/libbb/messages.c index 3febe7645..c9a9d7387 100644 --- a/libbb/messages.c +++ b/libbb/messages.c | |||
@@ -43,6 +43,7 @@ const char bb_dev_null[] = "/dev/null"; | |||
43 | const int const_int_0; | 43 | const int const_int_0; |
44 | const int const_int_1 = 1; | 44 | const int const_int_1 = 1; |
45 | 45 | ||
46 | #ifndef __MINGW32__ | ||
46 | #include <utmp.h> | 47 | #include <utmp.h> |
47 | /* This is usually something like "/var/adm/wtmp" or "/var/log/wtmp" */ | 48 | /* This is usually something like "/var/adm/wtmp" or "/var/log/wtmp" */ |
48 | const char bb_path_wtmp_file[] = | 49 | const char bb_path_wtmp_file[] = |
@@ -53,6 +54,7 @@ WTMP_FILE; | |||
53 | #else | 54 | #else |
54 | # error unknown path to wtmp file | 55 | # error unknown path to wtmp file |
55 | #endif | 56 | #endif |
57 | #endif | ||
56 | 58 | ||
57 | char bb_common_bufsiz1[(BUFSIZ > 256*sizeof(void*) ? BUFSIZ : 256*sizeof(void*)) + 1]; | 59 | char bb_common_bufsiz1[(BUFSIZ > 256*sizeof(void*) ? BUFSIZ : 256*sizeof(void*)) + 1]; |
58 | 60 | ||