opnsense-ports/audio/cdparanoia/files/patch-interface-utils.h
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

18 lines
495 B
C

Index: interface/utils.h
===================================================================
RCS file: /home/cvs/cdparanoia/interface/utils.h,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -u -r1.1.1.1 -r1.3
--- interface/utils.h 2003/01/05 09:46:26 1.1.1.1
+++ interface/utils.h 2003/01/06 23:34:21 1.3
@@ -1,4 +1,9 @@
+#ifdef LINUX
#include <endian.h>
+#elif defined(__FreeBSD__)
+#include <machine/endian.h>
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <string.h>