mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
This fixes the following compile-time warning: cc1: note: someone does not honour COPTS correctly, passed 2 times LTCOMPILE tport_type_connect.lo cc1: note: someone does not honour COPTS correctly, passed 2 times LTCOMPILE tport_type_ws.lo cc1: note: someone does not honour COPTS correctly, passed 2 times LTCOMPILE ws.lo cc1: note: someone does not honour COPTS correctly, passed 2 times ws.c: In function 'hton64': ws.c:730:14: error: implicit declaration of function '__bswap_64' [-Werror=implicit-function-declaration] else return __bswap_64(val); ^ cc1: all warnings being treated as errors Makefile:1465: recipe for target 'ws.lo' failed make[12]: *** [ws.lo] Error 1 Fix by including byteswap.h, which is available on Linux and also everywhere glibc is used (wpa_supplicant includes this header the same way). Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unl
Multiple Licenses
196 MiB
Languages
C
65.2%
C++
20.8%
JavaScript
4.8%
Assembly
2%
Makefile
1%
Other
5.4%