Browse Source

sys/types.h will serve us better than machine/endian.h.

OPENBSD_2_1
etheisen 28 years ago
parent
commit
27a85430e6
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/lib/libc/stdlib/strtod.c

+ 2
- 3
src/lib/libc/stdlib/strtod.c View File

@ -90,13 +90,12 @@
*/ */
#if defined(LIBC_SCCS) && !defined(lint) #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 */ #endif /* LIBC_SCCS and not lint */
#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \ #if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
defined(__mips__) || defined(__ns32k__) || defined(__alpha__) defined(__mips__) || defined(__ns32k__) || defined(__alpha__)
#include <machine/types.h>
#include <machine/endian.h>
#include <sys/types.h>
#if BYTE_ORDER == BIG_ENDIAN #if BYTE_ORDER == BIG_ENDIAN
#define IEEE_BIG_ENDIAN #define IEEE_BIG_ENDIAN
#else #else


Loading…
Cancel
Save