Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 21 years ago
parent
commit
7062142dd2
1 changed files with 21 additions and 0 deletions
  1. +21
    -0
      package/base/mkdosfs/dont-use-kernel-headers.patch

+ 21
- 0
package/base/mkdosfs/dont-use-kernel-headers.patch

@ -0,0 +1,21 @@
--- ./mkdosfs.c.orig 2004-02-10 22:44:38.602762200 +0000
+++ ./mkdosfs.c 2004-02-10 22:43:57.846958024 +0000
@@ -43,7 +43,7 @@
#include <fcntl.h>
#include <linux/hdreg.h>
-#include <linux/fs.h>
+//#include <linux/fs.h>
#include <sys/stat.h>
#include <linux/fd.h>
#include <mntent.h>
@@ -61,6 +61,9 @@
/* Constant definitions */
+#define BLOCK_SIZE_BITS 10
+#define BLOCK_SIZE (1<<BLOCK_SIZE_BITS)
+
#define TRUE 1 /* Boolean constants */
#define FALSE 0

Loading…
Cancel
Save