OSDN Git Service

Add the missing include <sys/sysmacros.h>
[android-x86/external-eject.git] / eject.c
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