Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-eject: Commit

external/eject


Commit MetaInfo

Revisionf5f9eb74df5cebe3382166d6114a521293fa346e (tree)
Time2017-12-12 18:21:58
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Add the missing include <sys/sysmacros.h>

To provide the prototypes of major and minor.

Change Summary

Incremental Difference

--- a/eject.c
+++ b/eject.c
@@ -77,6 +77,7 @@
7777 #include <scsi/scsi_ioctl.h>
7878 #endif
7979 #include <sys/time.h>
80+#include <sys/sysmacros.h>
8081
8182 /* Used by the ToggleTray() function. If ejecting the tray takes this
8283 * time or less, the tray was probably already ejected, so we close it
Show on old repository browser