• Sebastian Kemper's avatar
    FS-9840 sofia-sip: fix implicit declaration warning · 2235ebb3
    Sebastian Kemper 提交于
    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: 's avatarSebastian Kemper <sebastian_ml@gmx.net>
    2235ebb3
名称
最后提交
最后更新
..
docs 正在载入提交数据...
libsofia-sip-ua 正在载入提交数据...
libsofia-sip-ua-glib 正在载入提交数据...
m4 正在载入提交数据...
open_c 正在载入提交数据...
packages 正在载入提交数据...
rules 正在载入提交数据...
s2check 正在载入提交数据...
scripts 正在载入提交数据...
tests 正在载入提交数据...
utils 正在载入提交数据...
win32 正在载入提交数据...
.update 正在载入提交数据...
AUTHORS 正在载入提交数据...
COPYING 正在载入提交数据...
COPYRIGHTS 正在载入提交数据...
ChangeLog 正在载入提交数据...
ChangeLog.ext-trees 正在载入提交数据...
Makefile.am 正在载入提交数据...
README 正在载入提交数据...
README.developers 正在载入提交数据...
RELEASE 正在载入提交数据...
RELEASE.template 正在载入提交数据...
TODO 正在载入提交数据...
acinclude.m4 正在载入提交数据...
autoconf-all.cmd 正在载入提交数据...
autogen.sh 正在载入提交数据...
configure.ac 正在载入提交数据...
configure.gnu 正在载入提交数据...