opnsense-ports/audio/cdparanoia/files/patch-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
474 B
C

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