12 lines
370 B
Diff
12 lines
370 B
Diff
--- dmraid/lib/misc/file.c~ 2008-06-12 12:54:32.000000000 +0200
|
|
+++ dmraid/lib/misc/file.c 2009-03-19 00:14:33.000000000 +0100
|
|
@@ -69,7 +69,7 @@
|
|
if ((fd = open(path, flags, lc->mode)) == -1)
|
|
LOG_ERR(lc, 0, "opening \"%s\"", path);
|
|
|
|
-#ifdef __KLIBC__
|
|
+#if defined(__KLIBC__) || defined(__dietlibc__)
|
|
#define DMRAID_LSEEK lseek
|
|
#else
|
|
#define DMRAID_LSEEK lseek64
|