Apply a patch from Evin Robertson -- new pivot_root applet.
[oweals/busybox.git] / basename.c
index fcc7d4619ec458fbbddaf88e63605aa385f3d78b..cba003d70078fb251cb92436a2b32191be28ff79 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Mini basename 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
@@ -22,7 +22,8 @@
  */
 
 #include "busybox.h"
-#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 extern int basename_main(int argc, char **argv)
 {