1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/audio/pd/files/patch-src_s__audio__alsa.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

18 lines
390 B
C

--- src/s_audio_alsa.c.orig 2016-04-03 04:15:36 UTC
+++ src/s_audio_alsa.c
@@ -25,7 +25,14 @@
#include <sched.h>
#include <sys/mman.h>
#include "s_audio_alsa.h"
+#if defined(__FreeBSD__)
+#include <sys/endian.h>
+#define LITTLE_ENDIAN _LITTLE_ENDIAN
+#define BIG_ENDIAN _BIG_ENDIAN
+#define BYTE_ORDER _BYTE_ORDER
+#else
#include <endian.h>
+#endif
/* Defines */
#define DEBUG(x) x