summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-12-08 11:19:59 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-12-08 11:19:59 +0000
commit2212e3f145a9c785b267a8e79eafb9622ac26b08 (patch)
tree92574972e1e1b2ba9cfb652f9530616a0b47e040
parent2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-2212e3f145a9c785b267a8e79eafb9622ac26b08.tar.bz2
2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/clock.h: #include <sys/time.h> * librpc/include/rpc/rpcent.h: #include <rpc/types.h>. * librpc/include/rpc/xdr.h: #include <rtems/bsd/sys/cdefs.h>.
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/librpc/include/rpc/rpcent.h2
-rw-r--r--cpukit/librpc/include/rpc/xdr.h3
-rw-r--r--cpukit/rtems/include/rtems/rtems/clock.h2
4 files changed, 13 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 609cebb879..71710e849a 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * rtems/include/rtems/rtems/clock.h: #include <sys/time.h>
+ * librpc/include/rpc/rpcent.h: #include <rpc/types.h>.
+ * librpc/include/rpc/xdr.h: #include <rtems/bsd/sys/cdefs.h>.
+
2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1348/cpukit
diff --git a/cpukit/librpc/include/rpc/rpcent.h b/cpukit/librpc/include/rpc/rpcent.h
index dbc8b0e5f9..e9fbaf6660 100644
--- a/cpukit/librpc/include/rpc/rpcent.h
+++ b/cpukit/librpc/include/rpc/rpcent.h
@@ -42,6 +42,8 @@
#ifndef _RPC_RPCENT_H
#define _RPC_RPCENT_H
+#include <rtems/bsd/sys/cdefs.h>
+
/* #pragma ident "@(#)rpcent.h 1.13 94/04/25 SMI" */
/* @(#)rpcent.h 1.1 88/12/06 SMI */
diff --git a/cpukit/librpc/include/rpc/xdr.h b/cpukit/librpc/include/rpc/xdr.h
index 1529f41e7b..a9141a5bfb 100644
--- a/cpukit/librpc/include/rpc/xdr.h
+++ b/cpukit/librpc/include/rpc/xdr.h
@@ -41,8 +41,11 @@
#ifndef _RPC_XDR_H
#define _RPC_XDR_H
+
#include <rtems/bsd/sys/cdefs.h>
+#include <rpc/types.h>
+
/*
* XDR provides a conventional way for converting between C data
* types and an external bit-string representation. Library supplied
diff --git a/cpukit/rtems/include/rtems/rtems/clock.h b/cpukit/rtems/include/rtems/rtems/clock.h
index 7e6336d606..04924d74d6 100644
--- a/cpukit/rtems/include/rtems/rtems/clock.h
+++ b/cpukit/rtems/include/rtems/rtems/clock.h
@@ -32,6 +32,8 @@
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>
+#include <sys/time.h> /* struct timeval */
+
/**
* @defgroup ClassicClock Classic API Clock
*