Cleanup patch from Vladimir N. Oleynik.
[oweals/busybox.git] / ln.c
diff --git a/ln.c b/ln.c
index e69cb024a03cb1ab6fbb368b018c335b2dbd3483..54e81f4c54c55f04868423759ffb00a45ef58415 100644 (file)
--- a/ln.c
+++ b/ln.c
@@ -2,7 +2,7 @@
 /*
  * Mini ln 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
 
 #include <stdio.h>
 #include <dirent.h>
+#include <string.h>
+#include <stdlib.h>
 #include <errno.h>
+#include <unistd.h>
 
 static const int LN_SYMLINK = 1;
 static const int LN_FORCE = 2;