summaryrefslogtreecommitdiff
path: root/fdflush.c
diff options
context:
space:
mode:
authorEric Andersen2000-07-08 18:55:24 +0000
committerEric Andersen2000-07-08 18:55:24 +0000
commitbd22ed806782eec76929bcd2ec556717e79d24c7 (patch)
treee225367aaef198eacec8ed0b530d36a9d888d92f /fdflush.c
parent877a71bbf0b8386add4631c08f7101259ad2dc07 (diff)
downloadbusybox-bd22ed806782eec76929bcd2ec556717e79d24c7.zip
busybox-bd22ed806782eec76929bcd2ec556717e79d24c7.tar.gz
Update files to reduce dependance on kernel version...
-Erik
Diffstat (limited to 'fdflush.c')
-rw-r--r--fdflush.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fdflush.c b/fdflush.c
index 81f0472..d993735 100644
--- a/fdflush.c
+++ b/fdflush.c
@@ -24,9 +24,10 @@
#include "internal.h"
#include <stdio.h>
#include <sys/ioctl.h>
-#include <linux/fd.h>
#include <fcntl.h>
+/* From <linux/fd.h> */
+#define FDFLUSH _IO(2,0x4b)
extern int fdflush_main(int argc, char **argv)
{