diff options
author | Ralf Corsépius <ralf.corsepius@rtems.org> | 2012-03-02 09:31:38 +0100 |
---|---|---|
committer | Ralf Corsépius <ralf.corsepius@rtems.org> | 2012-03-02 09:40:03 +0100 |
commit | 396b80ebf6bc0e21d0128b9e768a8243e32372d8 (patch) | |
tree | 6fb309ef2fadeb28127476718ed41216e401f89a /cpukit/configure.ac | |
parent | PR2028: Milkymist USB: forward MIDI messages. (diff) | |
download | rtems-396b80ebf6bc0e21d0128b9e768a8243e32372d8.tar.bz2 |
2012-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for rcmd in unistd.h.
* libnetworking/libc/rcmd.c: Build iff rcmd is declared in unistd.h.
Change rcmd's decl to match with Linux/FreeBSD's decl.
Diffstat (limited to 'cpukit/configure.ac')
-rw-r--r-- | cpukit/configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/configure.ac b/cpukit/configure.ac index e3c6a59e74..7c5c731361 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -302,6 +302,7 @@ AC_CHECK_DECLS([LONG_BIT],,,[#include <limits.h>]) ## BSD-ism, excluded from POSIX, but available on most platforms AC_CHECK_DECLS([sbrk],,,[#include <unistd.h>]) +AC_CHECK_DECLS([rcmd],,,[#include <unistd.h>]) ## Check if libc provides BSD's strlcpy/strlcat AC_CHECK_FUNCS(strlcpy strlcat) |