diff options
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r-- | libbb/appletlib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index 5425f736e..0a9d4b11c 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -188,7 +188,9 @@ void lbb_prepare(const char *applet | |||
188 | if (ENABLE_LOCALE_SUPPORT && getpid() != 1) | 188 | if (ENABLE_LOCALE_SUPPORT && getpid() != 1) |
189 | setlocale(LC_ALL, ""); | 189 | setlocale(LC_ALL, ""); |
190 | 190 | ||
191 | IF_WIN32_NET(init_winsock();) | 191 | #if ENABLE_PLATFORM_MINGW32 |
192 | init_winsock(); | ||
193 | #endif | ||
192 | 194 | ||
193 | #if ENABLE_FEATURE_INDIVIDUAL | 195 | #if ENABLE_FEATURE_INDIVIDUAL |
194 | /* Redundant for busybox (run_applet_and_exit covers that case) | 196 | /* Redundant for busybox (run_applet_and_exit covers that case) |