• 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
名称
最后提交
最后更新
..
bnf 正在载入提交数据...
docs 正在载入提交数据...
features 正在载入提交数据...
http 正在载入提交数据...
ipt 正在载入提交数据...
iptsec 正在载入提交数据...
msg 正在载入提交数据...
nea 正在载入提交数据...
nta 正在载入提交数据...
nth 正在载入提交数据...
nua 正在载入提交数据...
sdp 正在载入提交数据...
sip 正在载入提交数据...
soa 正在载入提交数据...
sresolv 正在载入提交数据...
stun 正在载入提交数据...
su 正在载入提交数据...
tport 正在载入提交数据...
url 正在载入提交数据...
ChangeLog 正在载入提交数据...
Makefile.am 正在载入提交数据...
sofia.am 正在载入提交数据...