Apply a patch from Evin Robertson -- new pivot_root applet.
[oweals/busybox.git] / head.c
diff --git a/head.c b/head.c
index a0ca453deb1690f955e5a42e5c2af23a93385db3..7d87f32cbad815e20fde56cf1080dbb4ffd2adf1 100644 (file)
--- a/head.c
+++ b/head.c
@@ -3,7 +3,7 @@
  * Mini head implementation for busybox
  *
  *
- * Copyright (C) 1999,2000 by Lineo, inc.
+ * Copyright (C) 1999,2000,2001 by Lineo, inc.
  * Written by John Beppu <beppu@lineo.com>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -25,6 +25,8 @@
 #include "busybox.h"
 #include <errno.h>
 #include <stdio.h>
+#include <getopt.h>
+#include <stdlib.h>
 
 int head(int len, FILE *fp)
 {