aboutsummaryrefslogtreecommitdiff
path: root/miscutils/eject.c
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-03 19:49:21 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-06-03 19:49:21 +0000
commit7bc07ed49e9fa80c72d1fca12a406f7a2044351d (patch)
tree31f480da01f06ac69514532ce37bbcfde2c43e1b /miscutils/eject.c
parentba086eee66e6ac97b1e5bcfb27acebcf961d9473 (diff)
downloadbusybox-w32-7bc07ed49e9fa80c72d1fca12a406f7a2044351d.tar.gz
busybox-w32-7bc07ed49e9fa80c72d1fca12a406f7a2044351d.tar.bz2
busybox-w32-7bc07ed49e9fa80c72d1fca12a406f7a2044351d.zip
- move #include busybox.h to the very top so we pull in the config
and eventual platform specific includes in early. git-svn-id: svn://busybox.net/trunk/busybox@15273 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils/eject.c')
-rw-r--r--miscutils/eject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/miscutils/eject.c b/miscutils/eject.c
index d9cb0f67b..a402e49c6 100644
--- a/miscutils/eject.c
+++ b/miscutils/eject.c
@@ -1,3 +1,4 @@
1/* vi: set sw=4 ts=4: */
1/* 2/*
2 * eject implementation for busybox 3 * eject implementation for busybox
3 * 4 *
@@ -12,12 +13,12 @@
12 * Most of the dirty work blatantly ripped off from cat.c =) 13 * Most of the dirty work blatantly ripped off from cat.c =)
13 */ 14 */
14 15
16#include "busybox.h"
15#include <fcntl.h> 17#include <fcntl.h>
16#include <sys/ioctl.h> 18#include <sys/ioctl.h>
17#include <unistd.h> 19#include <unistd.h>
18#include <sys/mount.h> 20#include <sys/mount.h>
19#include <mntent.h> 21#include <mntent.h>
20#include "busybox.h"
21 22
22/* various defines swiped from linux/cdrom.h */ 23/* various defines swiped from linux/cdrom.h */
23#define CDROMCLOSETRAY 0x5319 /* pendant of CDROMEJECT */ 24#define CDROMCLOSETRAY 0x5319 /* pendant of CDROMEJECT */