OSDN Git Service
(root)
/
android-x86
/
external-eject.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b4defd
)
Add the missing include <sys/sysmacros.h>
oreo-x86
pie-x86
android-x86-8.1-r1
android-x86-8.1-r2
android-x86-8.1-r3
android-x86-8.1-r4
android-x86-8.1-r5
android-x86-8.1-r6
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Tue, 12 Dec 2017 09:21:58 +0000
(17:21 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Tue, 12 Dec 2017 09:21:58 +0000
(17:21 +0800)
To provide the prototypes of major and minor.
eject.c
patch
|
blob
|
history
diff --git
a/eject.c
b/eject.c
index
5a149c6
..
569d5a4
100644
(file)
--- a/
eject.c
+++ b/
eject.c
@@
-77,6
+77,7
@@
#include <scsi/scsi_ioctl.h>
#endif
#include <sys/time.h>
+#include <sys/sysmacros.h>
/* Used by the ToggleTray() function. If ejecting the tray takes this
* time or less, the tray was probably already ejected, so we close it