Index: exscalibar-1.0.4/src/qtextra/qsocketsession.h =================================================================== --- exscalibar-1.0.4.orig/src/qtextra/qsocketsession.h +++ exscalibar-1.0.4/src/qtextra/qsocketsession.h @@ -11,7 +11,13 @@ #define __QSOCKETSESSION_H // TODO: may need compatibility fixes. -#include +#ifdef __FreeBSD__ +# include +# define bswap_32 __bswap32 +# define bswap_16 __bswap16 +#else +# include +#endif #include