aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/stdarg.h
diff options
context:
space:
mode:
authorTim Deegan <tim@xen.org>2012-01-26 15:35:36 +0000
committerTim Deegan <tim@xen.org>2012-01-26 15:35:36 +0000
commit902d180a4cb57fa18303de422dd417756d963389 (patch)
treed88926660d88b0ad6af7ffb886a0946d1ce676c4 /xen/include/xen/stdarg.h
parent97015889f182fee8a85ec8a9e8a2c54acbe0d82d (diff)
downloadxen-902d180a4cb57fa18303de422dd417756d963389.tar.gz
xen-902d180a4cb57fa18303de422dd417756d963389.tar.bz2
xen-902d180a4cb57fa18303de422dd417756d963389.zip
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@xen.org>
Diffstat (limited to 'xen/include/xen/stdarg.h')
-rw-r--r--xen/include/xen/stdarg.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/xen/include/xen/stdarg.h b/xen/include/xen/stdarg.h
index 8d9de51714..ade7a658d9 100644
--- a/xen/include/xen/stdarg.h
+++ b/xen/include/xen/stdarg.h
@@ -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) \