Skip to contentSkip to conversation

blktap2: fix a compilation error

PATCH New KUWAMURA Shin'ya 1 participant 1 message May 29, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blktap2: fix a compilation error

Hi,

This fixes the following error on RHEL4U2 ia64:
block-qcow.c: In function `qcow_create':
block-qcow.c:1202: error: `PATH_MAX' undeclared (first use in this function)

Signature · 1 line
  KUWAMURA Shin'ya

# HG changeset patch
# User KUWAMURA Shin'ya <[email protected]> # Date 1243574550 -32400
# Node ID 9e72be06ac4be008f2e673ce11ef86c346e34faa # Parent fe68405201d25decd2454879d18f3c17716dcf75
blktap2: fix a compilation error

This fixes the following error:
block-qcow.c: In function `qcow_create':
block-qcow.c:1202: error: `PATH_MAX' undeclared (first use in this function)

tools/blktap2/drivers/block-qcow.c +1 -0
diff -r fe68405201d2 -r 9e72be06ac4b tools/blktap2/drivers/block-qcow.c
@@ -35,6 +35,7 @@
 #include <inttypes.h>
 #include <libaio.h>
 #include <openssl/md5.h>
+#include <limits.h>
 #include "bswap.h"
 #include "aes.h"
 

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