summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-11-13 21:35:19 +0000
committerErik Troan <ewt@redhat.com>2001-11-13 21:35:19 +0000
commit44ad7f457f32fdfba608959532540c3a13ac4fca (patch)
treeb1c8fcc915ca226a4ec9f146c1254723b0e7742d /isys
parentda0918b96704ee03e44c7a76543f9b73d2ce7258 (diff)
downloadanaconda-44ad7f457f32fdfba608959532540c3a13ac4fca.tar.gz
anaconda-44ad7f457f32fdfba608959532540c3a13ac4fca.tar.xz
anaconda-44ad7f457f32fdfba608959532540c3a13ac4fca.zip
define BLKGETSZ if needed
Diffstat (limited to 'isys')
-rw-r--r--isys/pdc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/isys/pdc.c b/isys/pdc.c
index 4ecbb7ccb..c69e5252e 100644
--- a/isys/pdc.c
+++ b/isys/pdc.c
@@ -28,6 +28,10 @@ typedef uint32_t u_int32_t;
typedef unsigned int uint32_t;
#endif
+#ifndef BLKSSZGET
+#define BLKSSZGET _IO(0x12,104)/* get block device sector size */
+#endif
+
struct promise_raid_conf {
char promise_id[24];
#define PR_MAGIC "Promise Technology, Inc."