opnsense-ports/net/yate/files/patch-libs_yradio_radio.cpp
Franco Fichtner a5c7574ccc */*: sync with upstream
Taken from: HardenedBSD
2018-04-11 02:03:44 +02:00

19 lines
300 B
C++

--- libs/yradio/radio.cpp.orig 2018-03-28 12:02:24 UTC
+++ libs/yradio/radio.cpp
@@ -23,6 +23,7 @@
#include <yateradio.h>
#include <string.h>
+/*
#ifndef htobe32
#include <byteswap.h>
@@ -59,6 +60,8 @@
#endif
#endif // htobe32
+*/
+#include <sys/endian.h>
//#define DEBUG_RADIO_READ