forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user