[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libaio: Fix for *BSD



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1190902434 -3600
# Node ID b220ea0a2febf01ae86b073e3be24bd5ad479052
# Parent  0b04a48f65ccf6c1df914af2ab3500baf27842ba
libaio: Fix for *BSD
  - Remove unused linux specific header
  - Include <sys/time.h> needed for struct timespec
Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 tools/libaio/src/compat-0_1.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 0b04a48f65cc -r b220ea0a2feb tools/libaio/src/compat-0_1.c
--- a/tools/libaio/src/compat-0_1.c     Wed Sep 26 17:11:07 2007 +0100
+++ b/tools/libaio/src/compat-0_1.c     Thu Sep 27 15:13:54 2007 +0100
@@ -19,7 +19,7 @@
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
  */
 #include <stdlib.h>
-#include <asm/errno.h>
+#include <sys/time.h>
 
 #include "libaio.h"
 #include "vsys_def.h"

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.