[rtems commit] Include missing <sys/param.h>
Sebastian Huber
sebh at rtems.org
Wed Jun 7 13:27:37 UTC 2017
Module: rtems
Branch: master
Commit: 643b82026c3ef8853f1408eac9340eeade5f5dc7
Changeset: http://git.rtems.org/rtems/commit/?id=643b82026c3ef8853f1408eac9340eeade5f5dc7
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Jun 6 11:11:49 2017 +0200
Include missing <sys/param.h>
Some kernel-space header expect that <sys/param.h> is present.
Update #2833.
---
cpukit/libfs/src/nfsclient/src/xdr_mbuf.c | 1 +
cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c b/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c
index 52b07ae..74f549e 100644
--- a/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c
+++ b/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c
@@ -61,6 +61,7 @@ static char *rcsid = "$FreeBSD: src/lib/libc/xdr/xdr_mem.c,v 1.8 1999/08/28 00:0
#include "config.h"
#endif
+#include <sys/param.h>
#include <string.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
diff --git a/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c b/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c
index fd8091e..47d4de9 100644
--- a/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c
+++ b/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c
@@ -55,6 +55,7 @@
#include <rtems.h>
#include <rtems/rtems_bsdnet.h>
+#include <sys/param.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/sockio.h>
More information about the vc
mailing list