mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
9fa9eb9ac7
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
18 lines
390 B
C
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
|