Closes: https://github.com/alsa-project/alsa-plugins/pull/48
Signed-off-by: SASANO Takayoshi <uaa@uaa.org.uk>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
#define _GNU_SOURCE
#include <stdbool.h>
#include <errno.h>
-#include <byteswap.h>
#include <sys/shm.h>
#include <sys/types.h>
#include <sys/socket.h>
}
if (client_name == NULL) {
+#if defined(__linux__)
const char *pname = program_invocation_short_name;
+#else
+ const char *pname = getprogname();
+#endif
if (!pname[0]) {
pname = "alsa-jack";
}
*/
#define _GNU_SOURCE
-#include <byteswap.h>
#include <sys/mman.h>
#include <sys/shm.h>
#include <sys/ioctl.h>