12 lines
413 B
Diff
12 lines
413 B
Diff
--- src/common_interface.c.orig 2008-10-02 07:40:36.000000000 +0200
|
|
+++ src/common_interface.c 2008-10-02 07:41:05.000000000 +0200
|
|
@@ -64,7 +64,7 @@
|
|
#define HTOLE_16(x) htole16(x)
|
|
#define HTOLE_32(x) htole32(x)
|
|
|
|
-#if defined(__FreeBSD__) || defined(__DragonFly__)
|
|
+#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
|
|
#define LETOH_16(x) le16toh(x)
|
|
#define LETOH_32(x) le32toh(x)
|
|
#else
|