summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2013-07-04 13:57:39 +0000
committerotto <otto@openbsd.org>2013-07-04 13:57:39 +0000
commit1efaf16cc48032a39d7a65aeb465babcf9705371 (patch)
tree5d8e53e96cb65c04dec6397cae808de49148adb4 /sys/arch/sparc
parentFall back to bit banging mode for DVO transmitter detection (diff)
downloadwireguard-openbsd-1efaf16cc48032a39d7a65aeb465babcf9705371.tar.xz
wireguard-openbsd-1efaf16cc48032a39d7a65aeb465babcf9705371.zip
backout previous; off_t must be signed and there might be other C++ API
breakage lurking; ok kettenis@
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/include/_types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/_types.h b/sys/arch/sparc/include/_types.h
index 6534611d307..ef66a80ef71 100644
--- a/sys/arch/sparc/include/_types.h
+++ b/sys/arch/sparc/include/_types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: _types.h,v 1.20 2013/07/04 05:19:43 guenther Exp $ */
+/* $OpenBSD: _types.h,v 1.21 2013/07/04 13:57:42 otto Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -118,11 +118,16 @@ typedef unsigned long __vsize_t;
typedef unsigned long __psize_t;
/* Standard system types */
+typedef int __clock_t;
+typedef int __clockid_t;
typedef double __double_t;
typedef float __float_t;
+typedef long long __off_t;
typedef long __ptrdiff_t;
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