summaryrefslogtreecommitdiff
path: root/head.c
diff options
context:
space:
mode:
authorEric Andersen2001-03-09 14:36:42 +0000
committerEric Andersen2001-03-09 14:36:42 +0000
commiteba8ed71f08f334bc94ac8eeedcd998fcdd05897 (patch)
treec7a2f4adfb3418ff5d970a4f01fe87df38e04dc9 /head.c
parent9ba5bce06f71e610db752489b4f97e2af56c2577 (diff)
downloadbusybox-eba8ed71f08f334bc94ac8eeedcd998fcdd05897.zip
busybox-eba8ed71f08f334bc94ac8eeedcd998fcdd05897.tar.gz
Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanup
warnings with glibc 2.2 and use always use xfopen -Erik
Diffstat (limited to 'head.c')
-rw-r--r--head.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/head.c b/head.c
index c683ec7..fac9ec6 100644
--- a/head.c
+++ b/head.c
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <getopt.h>
#include <stdlib.h>
+#include <string.h>
#include "busybox.h"
int head(int len, FILE *fp)