Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-rw-r--r--applets/Kbuild2
-rw-r--r--applets/applets.c7
2 files changed, 7 insertions, 2 deletions
diff --git a/applets/Kbuild b/applets/Kbuild
index 2c6bee999..8999ff097 100644
--- a/applets/Kbuild
+++ b/applets/Kbuild
@@ -10,7 +10,7 @@ obj-y += busybox.o
# Generated file needs additional love
-applets/applets.o: include/usage_compressed.h
+applets/applets.o: .config include/usage_compressed.h
hostprogs-y += usage
always := $(hostprogs-y)
diff --git a/applets/applets.c b/applets/applets.c
index 8a17cbf0b..557e9e5d8 100644
--- a/applets/applets.c
+++ b/applets/applets.c
@@ -12,8 +12,13 @@
* Licensed under GPLv2 or later, see file License in this tarball for details.
*/
-#include "busybox.h"
#include <assert.h>
+#include "busybox.h"
+
+#define PROTOTYPES
+#include "applets.h"
+#undef PROTOTYPES
+
/* Apparently uclibc defines __GLIBC__ (compat trick?). Oh well. */
#if ENABLE_STATIC && defined(__GLIBC__) && !defined(__UCLIBC__)