Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 21 years ago
parent
commit
e90ca7727d
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      package/base/disktype/dont-use-fs.h.patch

+ 11
- 0
package/base/disktype/dont-use-fs.h.patch

@ -0,0 +1,11 @@
--- ./file.c.orig 2004-02-10 22:14:33.269214616 +0000
+++ ./file.c 2004-02-10 22:14:41.536957728 +0000
@@ -32,7 +32,7 @@
#ifdef USE_IOCTL_LINUX
#include <sys/ioctl.h>
-#include <linux/fs.h>
+#define BLKGETSIZE _IO(0x12,96) /* return device size /512 (long *arg) */
#endif
#ifdef USE_IOCTL_FREEBSD

Loading…
Cancel
Save