• Sebastian Kemper's avatar
    FS-9840 mod-verto: fix implicit declaration warning · af111ba0
    Sebastian Kemper 提交于
    This fixes the following compile-time warning:
    
    making all mod_verto
    make[7]: Entering directory '/home/sk/tmp/lede/build_dir/target-mips_24kc_musl-1.1.15/freeswitch-1.8.0/src/mod/endpoints/mod_verto'
      CC       mod_verto_la-mod_verto.lo
      CC       mod_verto_la-ws.lo
    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
    
    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>
    af111ba0
名称
最后提交
最后更新
..
mod_alsa 正在载入提交数据...
mod_dingaling 正在载入提交数据...
mod_gsmopen 正在载入提交数据...
mod_h323 正在载入提交数据...
mod_khomp 正在载入提交数据...
mod_loopback 正在载入提交数据...
mod_opal 正在载入提交数据...
mod_portaudio 正在载入提交数据...
mod_reference 正在载入提交数据...
mod_rtc 正在载入提交数据...
mod_rtmp 正在载入提交数据...
mod_skinny 正在载入提交数据...
mod_skypopen 正在载入提交数据...
mod_sofia 正在载入提交数据...
mod_unicall 正在载入提交数据...
mod_verto 正在载入提交数据...