1568194ce5
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> |
||
---|---|---|
.. | ||
include | ||
sofia-sip | ||
ChangeLog | ||
Doxyfile.in | ||
Makefile.am | ||
agent.pem | ||
cafile.pem | ||
certificates-update | ||
certificates.html | ||
make_node_cert.pl | ||
make_root_cert.pl | ||
make_test_certs.sh | ||
test_tport.c | ||
tls_test_client.c | ||
tls_test_server.c | ||
tport.c | ||
tport.docs | ||
tport_internal.h | ||
tport_logging.c | ||
tport_rand.c | ||
tport_sigcomp.c | ||
tport_stub_sigcomp.c | ||
tport_stub_stun.c | ||
tport_tag.c | ||
tport_threadpool.c | ||
tport_tls.c | ||
tport_tls.h | ||
tport_tls_test.sh | ||
tport_type_connect.c | ||
tport_type_sctp.c | ||
tport_type_stun.c | ||
tport_type_tcp.c | ||
tport_type_tls.c | ||
tport_type_udp.c | ||
tport_type_ws.c | ||
tport_ws.h | ||
ws.c | ||
ws.h |