summaryrefslogtreecommitdiffhomepage
path: root/modutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-09 14:36:42 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-09 14:36:42 +0000
commiteba8ed71f08f334bc94ac8eeedcd998fcdd05897 (patch)
treec7a2f4adfb3418ff5d970a4f01fe87df38e04dc9 /modutils
parent9ba5bce06f71e610db752489b4f97e2af56c2577 (diff)
Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanup
warnings with glibc 2.2 and use always use xfopen -Erik
Diffstat (limited to 'modutils')
-rw-r--r--modutils/lsmod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index a853db888..8251705de 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <stddef.h>
#include <errno.h>
#include <unistd.h>