summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorderaadt <>2006-10-30 18:30:52 +0000
committerderaadt <>2006-10-30 18:30:52 +0000
commita7d73a674a110ab9c1aca03bf504093429036132 (patch)
treefac1019bf285f6f61b64818a3b63b00f01218457
parentaede99584cb0d715ac3f7c41068bc88f09d2a61b (diff)
downloadopenbsd-a7d73a674a110ab9c1aca03bf504093429036132.tar.gz
openbsd-a7d73a674a110ab9c1aca03bf504093429036132.tar.bz2
openbsd-a7d73a674a110ab9c1aca03bf504093429036132.zip
must pull in sys/types.h unconditionaly, because it is needed my pthreads
includes used a bit later (for instance on the vax)
-rw-r--r--src/lib/libc/stdlib/strtod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/strtod.c b/src/lib/libc/stdlib/strtod.c
index 253bc4ddc0..4dc3d65a26 100644
--- a/src/lib/libc/stdlib/strtod.c
+++ b/src/lib/libc/stdlib/strtod.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: strtod.c,v 1.29 2006/10/29 18:45:56 deraadt Exp $ */ 1/* $OpenBSD: strtod.c,v 1.30 2006/10/30 18:30:52 deraadt Exp $ */
2/**************************************************************** 2/****************************************************************
3 * 3 *
4 * The author of this software is David M. Gay. 4 * The author of this software is David M. Gay.
@@ -89,6 +89,7 @@
89 * directly -- and assumed always to succeed. 89 * directly -- and assumed always to succeed.
90 */ 90 */
91 91
92#include <sys/types.h>
92#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \ 93#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
93 defined(__mips__) || defined(__mips64__) || defined(__ns32k__) || \ 94 defined(__mips__) || defined(__mips64__) || defined(__ns32k__) || \
94 defined(__alpha__) || defined(__powerpc__) || defined(__m88k__) || \ 95 defined(__alpha__) || defined(__powerpc__) || defined(__m88k__) || \
@@ -96,7 +97,6 @@
96 defined(__sparc64__) || \ 97 defined(__sparc64__) || \
97 (defined(__arm__) && defined(__VFP_FP__)) 98 (defined(__arm__) && defined(__VFP_FP__))
98 99
99#include <sys/types.h>
100#if BYTE_ORDER == BIG_ENDIAN 100#if BYTE_ORDER == BIG_ENDIAN
101#define IEEE_BIG_ENDIAN 101#define IEEE_BIG_ENDIAN
102#else 102#else