aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-22 23:00:15 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-22 23:00:15 +0000
commit8d79ce832062873e6328f616ebb0c80db32020e3 (patch)
treeeab4c5133f1c8d1fd898d13e000aae5c5673211b /include
parent20aab260e2f7011523402464fb079f48e5899890 (diff)
downloadbusybox-w32-8d79ce832062873e6328f616ebb0c80db32020e3.tar.gz
busybox-w32-8d79ce832062873e6328f616ebb0c80db32020e3.tar.bz2
busybox-w32-8d79ce832062873e6328f616ebb0c80db32020e3.zip
Some patches to make dietlibc work...
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 12a28d5be..1fb6dcd92 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -263,6 +263,9 @@
263#ifdef BB_MKTEMP 263#ifdef BB_MKTEMP
264 APPLET(mktemp, mktemp_main, _BB_DIR_BIN) 264 APPLET(mktemp, mktemp_main, _BB_DIR_BIN)
265#endif 265#endif
266#ifdef BB_MODPROBE
267 APPLET(modprobe, modprobe_main, _BB_DIR_SBIN)
268#endif
266#ifdef BB_MORE 269#ifdef BB_MORE
267 APPLET(more, more_main, _BB_DIR_BIN) 270 APPLET(more, more_main, _BB_DIR_BIN)
268#endif 271#endif
diff --git a/include/libbb.h b/include/libbb.h
index bf5f0c1c5..c167e10bc 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -41,7 +41,7 @@
41#include "../busybox.h" 41#include "../busybox.h"
42#endif 42#endif
43 43
44#if __GNU_LIBRARY__ < 5 44#if (__GNU_LIBRARY__ < 5) && (!defined __dietlibc__)
45/* libc5 doesn't define socklen_t */ 45/* libc5 doesn't define socklen_t */
46typedef unsigned int socklen_t; 46typedef unsigned int socklen_t;
47/* libc5 doesn't implement BSD 4.4 daemon() */ 47/* libc5 doesn't implement BSD 4.4 daemon() */
diff --git a/include/usage.h b/include/usage.h
index b0b9722ad..2a2042292 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1084,6 +1084,13 @@
1084 "$ ls -la /tmp/temp.mWiLjM\n" \ 1084 "$ ls -la /tmp/temp.mWiLjM\n" \
1085 "-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n" 1085 "-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n"
1086 1086
1087#define modprobe_trivial_usage \
1088 "[FILE ...]"
1089#define modprobe_full_usage \
1090 "Used for hight level module loading and unloading."
1091#define modprobe_example_usage \
1092 "$ modprobe cdrom\n"
1093
1087#define more_trivial_usage \ 1094#define more_trivial_usage \
1088 "[FILE ...]" 1095 "[FILE ...]"
1089#define more_full_usage \ 1096#define more_full_usage \