summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/strtod.c
diff options
context:
space:
mode:
authoretheisen <etheisen@openbsd.org>1996-11-14 14:18:43 +0000
committeretheisen <etheisen@openbsd.org>1996-11-14 14:18:43 +0000
commit11025f8de71b229aec1036fa64014a8e05ed82c8 (patch)
treeb94d3773ee7ad06ceee0bc4d3e523c828067e5ce /lib/libc/stdlib/strtod.c
parentAdd memcpy entrypoint to bcopy et al. With this, in-tree gcc now (diff)
downloadwireguard-openbsd-11025f8de71b229aec1036fa64014a8e05ed82c8.tar.xz
wireguard-openbsd-11025f8de71b229aec1036fa64014a8e05ed82c8.zip
sys/types.h will serve us better than machine/endian.h.
Diffstat (limited to 'lib/libc/stdlib/strtod.c')
-rw-r--r--lib/libc/stdlib/strtod.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c
index c83c603d837..8d271f2c501 100644
--- a/lib/libc/stdlib/strtod.c
+++ b/lib/libc/stdlib/strtod.c
@@ -90,13 +90,12 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: strtod.c,v 1.5 1996/11/14 00:00:59 etheisen Exp $";
+static char *rcsid = "$OpenBSD: strtod.c,v 1.6 1996/11/14 14:18:43 etheisen Exp $";
#endif /* LIBC_SCCS and not lint */
#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
defined(__mips__) || defined(__ns32k__) || defined(__alpha__)
-#include <machine/types.h>
-#include <machine/endian.h>
+#include <sys/types.h>
#if BYTE_ORDER == BIG_ENDIAN
#define IEEE_BIG_ENDIAN
#else