summaryrefslogtreecommitdiff
path: root/sysutils/zbackup/files/patch-endian.hh
blob: 34038a28f2257c212604f16f5232ce7bf5202d52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- endian.hh.orig	2014-11-08 22:55:49.000000000 +0800
+++ endian.hh	2014-11-08 22:56:01.000000000 +0800
@@ -6,7 +6,7 @@
 
 #include <stdint.h>
 #include <arpa/inet.h>
-#ifdef __APPLE__
+#if defined(__APPLE_) || defined(__FreeBSD__)
 #include <machine/endian.h>
 #else
 #include <endian.h>