Fix the pwd and group functions. The bb_ stuff was a leftover from
[oweals/busybox.git] / chmod_chown_chgrp.c
index 530c45658b5a2c26680a1799ddc6cf202a7f5a9e..cccda98be8d65ec3720203fda04ce9057bb9a367 100644 (file)
@@ -3,7 +3,7 @@
  * Mini chown/chmod/chgrp 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
@@ -29,8 +29,9 @@
 #include "messages.c"
 
 #include <stdio.h>
-#include <grp.h>
-#include <pwd.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
 
 
 static long uid = -1;