diff options
author | 2006-10-30 18:30:52 +0000 | |
---|---|---|
committer | 2006-10-30 18:30:52 +0000 | |
commit | e01311f1efc866480f69cd1dda0b21a3db645036 (patch) | |
tree | bce20280f9edf11ce6b5c4f17894b7df3b12a4bb /lib/libc/stdlib/strtod.c | |
parent | install boot.conf as a section 5 page, not section 8; (diff) | |
download | wireguard-openbsd-e01311f1efc866480f69cd1dda0b21a3db645036.tar.xz wireguard-openbsd-e01311f1efc866480f69cd1dda0b21a3db645036.zip |
must pull in sys/types.h unconditionaly, because it is needed my pthreads
includes used a bit later (for instance on the vax)
Diffstat (limited to 'lib/libc/stdlib/strtod.c')
-rw-r--r-- | lib/libc/stdlib/strtod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c index 253bc4ddc0b..4dc3d65a267 100644 --- a/lib/libc/stdlib/strtod.c +++ b/lib/libc/stdlib/strtod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strtod.c,v 1.29 2006/10/29 18:45:56 deraadt Exp $ */ +/* $OpenBSD: strtod.c,v 1.30 2006/10/30 18:30:52 deraadt Exp $ */ /**************************************************************** * * The author of this software is David M. Gay. @@ -89,6 +89,7 @@ * directly -- and assumed always to succeed. */ +#include <sys/types.h> #if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \ defined(__mips__) || defined(__mips64__) || defined(__ns32k__) || \ defined(__alpha__) || defined(__powerpc__) || defined(__m88k__) || \ @@ -96,7 +97,6 @@ defined(__sparc64__) || \ (defined(__arm__) && defined(__VFP_FP__)) -#include <sys/types.h> #if BYTE_ORDER == BIG_ENDIAN #define IEEE_BIG_ENDIAN #else |