Apply a patch from Evin Robertson -- new pivot_root applet.
[oweals/busybox.git] / rmmod.c
diff --git a/rmmod.c b/rmmod.c
index 52adc7bcd85edc65d33b56e557c5aef7a013fc5b..3a66af87ad127f2cd21558b3815c9593b7e579eb 100644 (file)
--- a/rmmod.c
+++ b/rmmod.c
@@ -2,7 +2,7 @@
 /*
  * Mini rmmod implementation for busybox
  *
- * Copyright (C) 1999,2000 by Lineo, inc.
+ * Copyright (C) 1999,2000,2001 by Lineo, inc.
  * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -25,6 +25,9 @@
 #include <stdio.h>
 #include <errno.h>
 #include <unistd.h>
+#include <stdlib.h>
+#include <sys/syscall.h>
+#include <linux/unistd.h>
 #define __LIBRARY__