summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-07 15:37:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-07 15:37:33 +0000
commit7a47bb5724c4676267c0e9da10a5c1724e2004ef (patch)
treeb168c7913b9eb229dfc7bd425ed8a5b7d914c8b8 /cpukit
parent2002-08-07 Chris Johns <ccj@acm.org> (diff)
downloadrtems-7a47bb5724c4676267c0e9da10a5c1724e2004ef.tar.bz2
2002-08-07 Joel Sherrill <joel@OARcorp.com>
* netinet/in.h: Per PR263, added include of <machine/endian.h> to <netinet/in.h> so it includes prototypes of ntohl() family of routines.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libnetworking/ChangeLog6
-rw-r--r--cpukit/libnetworking/netinet/in.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/libnetworking/ChangeLog b/cpukit/libnetworking/ChangeLog
index 68beba82d7..cef3fb4135 100644
--- a/cpukit/libnetworking/ChangeLog
+++ b/cpukit/libnetworking/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-07 Joel Sherrill <joel@OARcorp.com>
+
+ * netinet/in.h: Per PR263, added include of <machine/endian.h>
+ to <netinet/in.h> so it includes prototypes of ntohl() family
+ of routines.
+
2002-08-01 Joel Sherrill <joel@OARcorp.com>
* machine/param.h, sys/syslimits.h: In the continued effort to
diff --git a/cpukit/libnetworking/netinet/in.h b/cpukit/libnetworking/netinet/in.h
index 7cc4709697..c74e469cb9 100644
--- a/cpukit/libnetworking/netinet/in.h
+++ b/cpukit/libnetworking/netinet/in.h
@@ -37,6 +37,8 @@
#ifndef _NETINET_IN_H_
#define _NETINET_IN_H_
+#include <machine/endian.h> /* for ntohx routines */
+
/*
* Constants and structures defined by the internet system,
* Per RFC 790, September 1981, and numerous additions.