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

[Xen-changelog] [xen-unstable] Bring OpenBSD stdarg handling in line with FreeBSD case



# HG changeset patch
# User Tim Deegan <tim@xxxxxxx>
# Date 1327592136 0
# Node ID a08043a997ea550e351ee87cd205f87562c67fcb
# Parent  266a12304601226213a57e39cc11aa075acdfb58
Bring OpenBSD stdarg handling in line with FreeBSD case

Having an absolute path in a #include confuses distcc's pump mode
so get rid ofit by using the same runes for both BSDs.

Signed-off-by: Tim Deegan <tim@xxxxxxx>
---


diff -r 266a12304601 -r a08043a997ea xen/include/xen/stdarg.h
--- a/xen/include/xen/stdarg.h  Thu Jan 26 15:05:15 2012 +0000
+++ b/xen/include/xen/stdarg.h  Thu Jan 26 15:35:36 2012 +0000
@@ -1,9 +1,7 @@
 #ifndef __XEN_STDARG_H__
 #define __XEN_STDARG_H__
 
-#if defined(__OpenBSD__)
-#  include "/usr/include/stdarg.h"
-#elif defined (__NetBSD__)
+#if defined(__OpenBSD__) || defined (__NetBSD__)
    typedef __builtin_va_list va_list;
 #  ifdef __GNUC__
 #    define __GNUC_PREREQ__(x, y)                                       \

_______________________________________________
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®.