Skip to contentSkip to conversation

Build fix for *BSD

PATCH New Christoph Egger 1 participant 1 message Mar 19, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Build fix for *BSD

Hi!

Attached patch fixes a build failure for *BSD.

Signature · 12 lines
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy
tools/blktap/drivers/block-qcow2.c +5 -0
diff -r 0901aec1d00b tools/blktap/drivers/block-qcow2.c
@@ -43,6 +43,11 @@
 
 #ifndef O_BINARY
 #define O_BINARY 0
+#endif
+
+/* *BSD has no O_LARGEFILE */
+#ifndef O_LARGEFILE
+#define O_LARGEFILE     0 
 #endif
 
 #define BLOCK_FLAG_ENCRYPT 1

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel