Add readprofile applet support.
[oweals/busybox.git] / util-linux / freeramdisk.c
index 00dc00841835151724287388d68f5c1ac4c22262..e5061dc34bba6bff32b064ec4ff86616632285f3 100644 (file)
@@ -3,7 +3,7 @@
  * freeramdisk implementation for busybox
  *
  * Copyright (C) 2000 and written by Emanuele Caratti <wiz@iol.it>
- * Adjusted a bit by Erik Andersen <andersee@debian.org>
+ * Adjusted a bit by Erik Andersen <andersen@codepoet.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -27,6 +27,7 @@
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #include <stdlib.h>
+#include <unistd.h>
 #include "busybox.h"
 
 
@@ -44,7 +45,7 @@ freeramdisk_main(int argc, char **argv)
        }
 
        fd = bb_xopen(argv[1], O_RDWR);
-       
+
        result = ioctl(fd, BLKFLSBUF);
 #ifdef CONFIG_FEATURE_CLEAN_UP
        close(fd);