opnsense-ports/devel/firmware-utils/files/patch-trx.c
Franco Fichtner 380121386c */*: sync with upstream
Taken from: FreeBSD
2015-08-21 10:51:02 +02:00

11 lines
239 B
C

--- trx.c.orig 2011-12-22 14:21:03 UTC
+++ trx.c
@@ -51,6 +51,8 @@
#include <errno.h>
#include <unistd.h>
+#include "freebsd.h"
+
#if __BYTE_ORDER == __BIG_ENDIAN
#define STORE32_LE(X) bswap_32(X)
#define LOAD32_LE(X) bswap_32(X)