summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-05-12 04:10:20 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-05-12 04:10:20 +0000
commit7e1d1e4b9ad1fbdffbee033ebbb3e147f9cccc35 (patch)
treeb183f6e849593a526a216feab97c3548e806b70b /cpukit
parent2011-05-12 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-7e1d1e4b9ad1fbdffbee033ebbb3e147f9cccc35.tar.bz2
Make self-contained.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libnetworking/nfs/nfsproto.h2
-rw-r--r--cpukit/libnetworking/nfsclient/nfsdiskless.h5
-rw-r--r--cpukit/libnetworking/resolv.h1
-rw-r--r--cpukit/libnetworking/sys/ucred.h4
4 files changed, 12 insertions, 0 deletions
diff --git a/cpukit/libnetworking/nfs/nfsproto.h b/cpukit/libnetworking/nfs/nfsproto.h
index 9c937068a2..a9ca6a9189 100644
--- a/cpukit/libnetworking/nfs/nfsproto.h
+++ b/cpukit/libnetworking/nfs/nfsproto.h
@@ -40,6 +40,8 @@
#ifndef _NFS_NFSPROTO_H_
#define _NFS_NFSPROTO_H_
+#include <sys/mount.h> /* fhandle_t */
+
/*
* nfs definitions as per the Version 2 and 3 specs
*/
diff --git a/cpukit/libnetworking/nfsclient/nfsdiskless.h b/cpukit/libnetworking/nfsclient/nfsdiskless.h
index 9c9a41913c..2543fc7700 100644
--- a/cpukit/libnetworking/nfsclient/nfsdiskless.h
+++ b/cpukit/libnetworking/nfsclient/nfsdiskless.h
@@ -36,6 +36,11 @@
#ifndef _NFS_NFSDISKLESS_H_
#define _NFS_NFSDISKLESS_H_
+#include <netinet/in.h> /* struct sockaddr_in */
+#include <net/if.h>
+#include <nfs/nfsproto.h> /* NFSX_V3FHMAX */
+#include <nfsclient/nfsargs.h> /* struct nfs_args */
+
/*
* Structure that must be initialized for a diskless nfs client.
* This structure is used by nfs_mountroot() to set up the root and swap
diff --git a/cpukit/libnetworking/resolv.h b/cpukit/libnetworking/resolv.h
index 33b97a043f..20b3120553 100644
--- a/cpukit/libnetworking/resolv.h
+++ b/cpukit/libnetworking/resolv.h
@@ -61,6 +61,7 @@
#include <sys/types.h>
#include <sys/cdefs.h>
#include <stdio.h>
+#include <netinet/in.h> /* struct in_addr */
/*
* Revision information. This is the release date in YYYYMMDD format.
diff --git a/cpukit/libnetworking/sys/ucred.h b/cpukit/libnetworking/sys/ucred.h
index e26bacd15a..9a6ff1499b 100644
--- a/cpukit/libnetworking/sys/ucred.h
+++ b/cpukit/libnetworking/sys/ucred.h
@@ -37,6 +37,10 @@
#ifndef _SYS_UCRED_H_
#define _SYS_UCRED_H_
+#if defined(__rtems__)
+#include <sys/param.h> /* NGROUPS */
+#endif
+
/*
* Credentials.
*/