From 7e1d1e4b9ad1fbdffbee033ebbb3e147f9cccc35 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 12 May 2011 04:10:20 +0000 Subject: Make self-contained. --- cpukit/libnetworking/nfs/nfsproto.h | 2 ++ cpukit/libnetworking/nfsclient/nfsdiskless.h | 5 +++++ cpukit/libnetworking/resolv.h | 1 + cpukit/libnetworking/sys/ucred.h | 4 ++++ 4 files changed, 12 insertions(+) (limited to 'cpukit') 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 /* 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 /* struct sockaddr_in */ +#include +#include /* NFSX_V3FHMAX */ +#include /* 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 #include #include +#include /* 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 /* NGROUPS */ +#endif + /* * Credentials. */ -- cgit v1.2.3