diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-10-30 18:30:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-10-30 18:30:53 +0000 |
commit | 869425daac9da8dae605348c18173b4f1035ccbf (patch) | |
tree | 07dfc3c821cc0afab06ba4d709d04f94052cca0f /lib | |
parent | 04f0bb21c805f7497254b209e3f8b525f260b856 (diff) |
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')
-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 |