summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-11-14 19:43:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-11-14 19:43:34 +0000
commit2359073b1d0ee8f09a54871022104b97aab2f237 (patch)
tree7ad9fb89be3619f9f0a9fe39860a5d180088630b /sys/arch/hppa/include
parentfc473f4947c71f87e10b4a92d12cfed901031d6d (diff)
went a bit far...
Diffstat (limited to 'sys/arch/hppa/include')
-rw-r--r--sys/arch/hppa/include/_types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/_types.h b/sys/arch/hppa/include/_types.h
index b765998be55..512ef180535 100644
--- a/sys/arch/hppa/include/_types.h
+++ b/sys/arch/hppa/include/_types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: _types.h,v 1.15 2011/11/14 14:29:53 deraadt Exp $ */
+/* $OpenBSD: _types.h,v 1.16 2011/11/14 19:43:33 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -135,7 +135,11 @@ typedef unsigned long __size_t;
typedef long __ssize_t;
typedef int __time_t;
typedef int __timer_t;
+#if defined(__GNUC__) && __GNUC__ >= 3
typedef __builtin_va_list __va_list;
+#else
+typedef double __va_list;
+#endif
/* Wide character support types */
#ifndef __cplusplus