WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] blktap2: fix a compilation error

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] blktap2: fix a compilation error
From: "KUWAMURA Shin'ya" <kuwa@xxxxxxxxxxxxxx>
Date: Fri, 29 May 2009 14:33:27 +0900 (JST)
Delivery-date: Thu, 28 May 2009 22:35:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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)

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
-- 
  KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
# 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)

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>

diff -r fe68405201d2 -r 9e72be06ac4b tools/blktap2/drivers/block-qcow.c
--- a/tools/blktap2/drivers/block-qcow.c        Wed May 27 15:55:29 2009 +0100
+++ b/tools/blktap2/drivers/block-qcow.c        Fri May 29 14:22:30 2009 +0900
@@ -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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] blktap2: fix a compilation error, KUWAMURA Shin'ya <=