mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-12 23:40:04 +00:00
FS-3776 --resolve FreeBSD changes for spandsp
This commit is contained in:
parent
9abd5c5da5
commit
883de14f30
@ -537,6 +537,8 @@ if test "x${ac_cv_func_mlockall}" = "xyes"; then
|
||||
USE_MLOCKALL=yes
|
||||
;;
|
||||
*-freebsd*)
|
||||
APR_ADDTO(SWITCH_AM_CFLAGS, -fPIC)
|
||||
APR_ADDTO(SWITCH_AM_CXXFLAGS, -fPIC)
|
||||
AC_MSG_RESULT([no, broken for non-root users])
|
||||
;;
|
||||
*)
|
||||
|
@ -49,6 +49,9 @@
|
||||
#ifdef __APPLE__
|
||||
#include <util.h>
|
||||
#include <sys/ioctl.h>
|
||||
#elif defined(__FreeBSD__)
|
||||
#include <libutil.h>
|
||||
#include <termios.h>
|
||||
#else
|
||||
#include <pty.h>
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user