aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2001-03-09 14:36:42 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2001-03-09 14:36:42 +0000
commiteba8ed71f08f334bc94ac8eeedcd998fcdd05897 (patch)
treec7a2f4adfb3418ff5d970a4f01fe87df38e04dc9 /miscutils
parent9ba5bce06f71e610db752489b4f97e2af56c2577 (diff)
downloadbusybox-eba8ed71f08f334bc94ac8eeedcd998fcdd05897.tar.gz
busybox-eba8ed71f08f334bc94ac8eeedcd998fcdd05897.tar.bz2
Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanup
warnings with glibc 2.2 and use always use xfopen -Erik
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/dc.c1
-rw-r--r--miscutils/mktemp.c1
-rw-r--r--miscutils/mt.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c
index a422139b1..8d7a92a28 100644
--- a/miscutils/dc.c
+++ b/miscutils/dc.c
@@ -2,6 +2,7 @@
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <math.h>
#include "busybox.h"
diff --git a/miscutils/mktemp.c b/miscutils/mktemp.c
index 31ab9e228..bc47d0af0 100644
--- a/miscutils/mktemp.c
+++ b/miscutils/mktemp.c
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <errno.h>
+#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include "busybox.h"
diff --git a/miscutils/mt.c b/miscutils/mt.c
index 350d3ae5a..250856f05 100644
--- a/miscutils/mt.c
+++ b/miscutils/mt.c
@@ -1,6 +1,7 @@
/* vi: set sw=4 ts=4: */
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <sys/mtio.h>
#include <sys/fcntl.h>
#include "busybox.h"