Include <mips/types.h> to bring u_int32_t and u_int16_t in scope for
the argument and return type of {n,h}to{h,n}{l,s}.
This commit is contained in:
parent
5804211474
commit
e0638e0c44
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: endian.h,v 1.5 1996/04/09 20:56:45 jonathan Exp $ */
|
||||
/* $NetBSD: endian.h,v 1.6 1996/06/05 23:44:31 jonathan Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1987, 1991, 1993
|
||||
|
@ -61,6 +61,7 @@
|
|||
#define BYTE_ORDER LITTLE_ENDIAN
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <mips/types.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
u_int32_t htonl __P((u_int32_t));
|
||||
|
|
Loading…
Reference in New Issue