1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-09 13:29:24 -04:00
ports/devel/firmware-utils/files/patch-trx2edips.c
Eitan Adler 5a32450718 A collection of utilities to create firmware images for embedded devices,
including many wireless routers from many vendors.

The utilities are collected and maintained by the OpenWrt router project.

WWW: http://www.openwrt.org/

PR:		ports/163537
Submitted by:	Stefan Bethke <stb@lassitu.de>
Feature safe:	yes
2011-12-25 05:10:28 +00:00

13 lines
289 B
C

diff --git a/trx2edips.c b/trx2edips.c
index f8d068d..224bc12 100644
--- trx2edips.c
+++ trx2edips.c
@@ -6,6 +6,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)