summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/libbb.h2
-rw-r--r--include/usage.h7
3 files changed, 11 insertions, 1 deletions
diff --git a/include/applets.h b/include/applets.h
index 12a28d5..1fb6dcd 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -263,6 +263,9 @@
#ifdef BB_MKTEMP
APPLET(mktemp, mktemp_main, _BB_DIR_BIN)
#endif
+#ifdef BB_MODPROBE
+ APPLET(modprobe, modprobe_main, _BB_DIR_SBIN)
+#endif
#ifdef BB_MORE
APPLET(more, more_main, _BB_DIR_BIN)
#endif
diff --git a/include/libbb.h b/include/libbb.h
index bf5f0c1..c167e10 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -41,7 +41,7 @@
#include "../busybox.h"
#endif
-#if __GNU_LIBRARY__ < 5
+#if (__GNU_LIBRARY__ < 5) && (!defined __dietlibc__)
/* libc5 doesn't define socklen_t */
typedef unsigned int socklen_t;
/* libc5 doesn't implement BSD 4.4 daemon() */
diff --git a/include/usage.h b/include/usage.h
index b0b9722..2a20422 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1084,6 +1084,13 @@
"$ ls -la /tmp/temp.mWiLjM\n" \
"-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n"
+#define modprobe_trivial_usage \
+ "[FILE ...]"
+#define modprobe_full_usage \
+ "Used for hight level module loading and unloading."
+#define modprobe_example_usage \
+ "$ modprobe cdrom\n"
+
#define more_trivial_usage \
"[FILE ...]"
#define more_full_usage \