diff options
author | Chris Johns <chrisj@rtems.org> | 2009-10-08 21:31:40 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2009-10-08 21:31:40 +0000 |
commit | 8e686a24484028a284c9d3c540e374414c8170c2 (patch) | |
tree | 343b48512cf272187646cae5374dd467d9a0335b /cpukit | |
parent | * mcf5282/include/mcf5282.h: add missing (x) params to four macros, added par... (diff) | |
download | rtems-8e686a24484028a284c9d3c540e374414c8170c2.tar.bz2 |
2009-10-09 Chris Johns <chrisj@rtems.org>
* libmisc/shell/main_mknod.c: Fixed build problem with networking
disabled.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libmisc/shell/main_mknod.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 51eb505f6d..1fb491d02e 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2009-10-09 Chris Johns <chrisj@rtems.org> + + * libmisc/shell/main_mknod.c: Fixed build problem with networking + disabled. + 2009-10-08 Chris Johns <chrisj@rtems.org> * Makefile.am, preinstall.am: Added statvfs.h. diff --git a/cpukit/libmisc/shell/main_mknod.c b/cpukit/libmisc/shell/main_mknod.c index 3a9d0465d1..024ba2b3fa 100644 --- a/cpukit/libmisc/shell/main_mknod.c +++ b/cpukit/libmisc/shell/main_mknod.c @@ -52,7 +52,7 @@ __RCSID("$NetBSD: mknod.c,v 1.39 2009/02/13 01:37:23 lukem Exp $"); #include <sys/types.h> #include <sys/stat.h> #include <sys/param.h> -#if !HAVE_NBTOOL_CONFIG_H +#if !HAVE_NBTOOL_CONFIG_H && defined(KERN_DRIVERS) #include <sys/sysctl.h> #endif |