Sebastian Kemper 1568194ce5 FS-9840 sofia-sip: fix implicit declaration warning
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>
2016-12-23 21:44:27 +01:00
..
2014-03-07 18:36:26 -05:00
2014-03-07 18:36:26 -05:00
2014-03-07 18:36:26 -05:00
2014-03-07 18:36:26 -05:00
2016-04-19 20:22:49 +02:00
2014-03-07 18:36:26 -05:00
2016-09-27 16:40:43 -05:00
2015-05-28 12:46:43 -05:00
2014-03-07 18:36:26 -05:00
2014-03-07 18:36:26 -05:00
2014-03-06 00:02:40 +05:00
2010-04-02 01:15:18 -04:00