summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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