mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 07:30:32 -04:00
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
13 lines
278 B
C
13 lines
278 B
C
diff --git a/ptgen.c b/ptgen.c
|
|
index d94aabb..4733311 100644
|
|
--- ptgen.c
|
|
+++ ptgen.c
|
|
@@ -29,6 +29,8 @@
|
|
#include <ctype.h>
|
|
#include <fcntl.h>
|
|
|
|
+#include "freebsd.h"
|
|
+
|
|
#if __BYTE_ORDER == __BIG_ENDIAN
|
|
#define cpu_to_le16(x) bswap_16(x)
|
|
#elif __BYTE_ORDER == __LITTLE_ENDIAN
|