svn commit: trunk/busybox/include

landley at busybox.net landley at busybox.net
Thu Jun 29 19:00:14 UTC 2006


Author: landley
Date: 2006-06-29 12:00:12 -0700 (Thu, 29 Jun 2006)
New Revision: 15543

Log:
Some old kernel headers don't #include BLKSSZGET in sys/mount.h.


Modified:
   trunk/busybox/include/platform.h


Changeset:
Modified: trunk/busybox/include/platform.h
===================================================================
--- trunk/busybox/include/platform.h	2006-06-29 04:59:11 UTC (rev 15542)
+++ trunk/busybox/include/platform.h	2006-06-29 19:00:12 UTC (rev 15543)
@@ -222,6 +222,9 @@
 
 #if defined(__linux__)
 #include <sys/mount.h>
+#if !defined(BLKSSZGET)
+#define BLKSSZGET _IO(0x12, 104)
+#endif
 #if !defined(BLKGETSIZE64)
 #define BLKGETSIZE64 _IOR(0x12,114,size_t)
 #endif




More information about the busybox-cvs mailing list