summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorrahnds <rahnds@openbsd.org>1997-01-02 03:12:07 +0000
committerrahnds <rahnds@openbsd.org>1997-01-02 03:12:07 +0000
commit82740396145adc79dd7f2c8260fd88c6347e007d (patch)
tree79ed9519ac66d17989ca78410c3de84f1afb1fa1 /lib/libc
parentPowerPC is like alpha and mips. (diff)
downloadwireguard-openbsd-82740396145adc79dd7f2c8260fd88c6347e007d.tar.xz
wireguard-openbsd-82740396145adc79dd7f2c8260fd88c6347e007d.zip
Change order of includes to pick up sys/types.h so that typedefs
of htonl and friends are not parse errors.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/powerpc/gen/modf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/powerpc/gen/modf.c b/lib/libc/arch/powerpc/gen/modf.c
index 8101062fdc5..396cf912540 100644
--- a/lib/libc/arch/powerpc/gen/modf.c
+++ b/lib/libc/arch/powerpc/gen/modf.c
@@ -39,14 +39,14 @@ static char rcsid[] = "$NetBSD: s_modf.c,v 1.8 1995/05/10 20:47:55 jtc Exp $";
/*
* from: @(#)fdlibm.h 5.1 93/09/24
- * $Id: modf.c,v 1.1.1.1 1996/12/21 20:42:22 rahnds Exp $
+ * $Id: modf.c,v 1.2 1997/01/02 03:12:07 rahnds Exp $
*/
#ifndef _MATH_PRIVATE_H_
#define _MATH_PRIVATE_H_
-#include <machine/endian.h>
#include <sys/types.h>
+#include <machine/endian.h>
/* The original fdlibm code used statements like:
n0 = ((*(int*)&one)>>29)^1; * index of high word *