summaryrefslogtreecommitdiff
path: root/util-linux/swaponoff.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 /util-linux/swaponoff.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 'util-linux/swaponoff.c')
-rw-r--r--util-linux/swaponoff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index 0613fa1..9deb13a 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -26,6 +26,7 @@
#include <mntent.h>
#include <dirent.h>
#include <errno.h>
+#include <string.h>
#include <stdlib.h>
#include <sys/mount.h>
#include <sys/syscall.h>