diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 2 | ||||
-rw-r--r-- | include/mingw.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 5f496f435..ea02a9978 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -60,6 +60,8 @@ | |||
60 | #include "autoconf.h" | 60 | #include "autoconf.h" |
61 | #ifdef __MINGW32__ | 61 | #ifdef __MINGW32__ |
62 | #include "mingw.h" | 62 | #include "mingw.h" |
63 | #undef CONFIG_BUSYBOX_EXEC_PATH | ||
64 | #define CONFIG_BUSYBOX_EXEC_PATH get_busybox_exec_path() | ||
63 | #endif | 65 | #endif |
64 | 66 | ||
65 | #include "pwd_.h" | 67 | #include "pwd_.h" |
diff --git a/include/mingw.h b/include/mingw.h index 3d252af5f..b39d94a33 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -248,6 +248,7 @@ char **copy_environ(void); | |||
248 | void free_environ(char **env); | 248 | void free_environ(char **env); |
249 | char **env_setenv(char **env, const char *name); | 249 | char **env_setenv(char **env, const char *name); |
250 | 250 | ||
251 | const char *get_busybox_exec_path(); | ||
251 | /* | 252 | /* |
252 | * A replacement of main() that ensures that argv[0] has a path | 253 | * A replacement of main() that ensures that argv[0] has a path |
253 | */ | 254 | */ |