Fix the pwd and group functions. The bb_ stuff was a leftover from
[oweals/busybox.git] / dirname.c
index 63c557a299ba8cc3c695ac891cc15f497e896ee1..2e11a69dc432c358c8ef26d33fb2ac6e35708c77 100644 (file)
--- a/dirname.c
+++ b/dirname.c
@@ -2,7 +2,7 @@
 /*
  * Mini dirname implementation for busybox
  *
- * Copyright (C) 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,6 +22,8 @@
  */
 #include "busybox.h"
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 extern int dirname_main(int argc, char **argv)
 {