opnsense-ports/sysutils/zbackup/files/patch-endian.hh
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
290 B
C++

--- 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>