GUACAMOLE-637: The __BSD_VISIBLE macro is required for strlcpy() and strlcat() to be available in libc's string.h.
This commit is contained in:
parent
e6c5da315e
commit
7da837b42a
@ -42,6 +42,7 @@ AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/socket.h time.h sys/time.h syslo
|
||||
|
||||
# Source characteristics
|
||||
AC_DEFINE([_XOPEN_SOURCE], [700], [Uses X/Open and POSIX APIs])
|
||||
AC_DEFINE([__BSD_VISIBLE], [1], [Uses BSD-specific APIs (if available)])
|
||||
|
||||
# Check for whether math library is required
|
||||
AC_CHECK_LIB([m], [cos],
|
||||
|
Loading…
Reference in New Issue
Block a user