summaryrefslogtreecommitdiff
path: root/util-linux/freeramdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/freeramdisk.c')
-rw-r--r--util-linux/freeramdisk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c
index fdac5ea..a6fa243 100644
--- a/util-linux/freeramdisk.c
+++ b/util-linux/freeramdisk.c
@@ -23,7 +23,6 @@
#include <stdio.h>
#include <string.h>
-#include <linux/fs.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
@@ -32,6 +31,9 @@
#include "internal.h"
+/* From linux/fs.h */
+#define BLKFLSBUF _IO(0x12,97) /* flush buffer cache */
+
static const char freeramdisk_usage[] =
"freeramdisk DEVICE\n"