Skip to content

Commit

Permalink
Fix naming conflicts from syslog.h inclusion in lirc client header.
Browse files Browse the repository at this point in the history
Increase squeezelite revision to 1049.
  • Loading branch information
ralph-irving committed Dec 19, 2017
1 parent 3028f38 commit 33aa1d1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions ir.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,20 @@

// ir thread - linux only

#include "squeezelite.h"

#if IR

#include <lirc/lirc_client.h>

/* Avoid name conflicts from syslog.h inclusion in lirc client header */
#ifdef LOG_DEBUG
#undef LOG_DEBUG
#endif
#ifdef LOG_INFO
#undef LOG_INFO
#endif

#include "squeezelite.h"

#define LIRC_CLIENT_ID "squeezelite"

static log_level loglevel;
Expand Down
2 changes: 1 addition & 1 deletion squeezelite.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

// make may define: PORTAUDIO, SELFPIPE, RESAMPLE, RESAMPLE_MP, VISEXPORT, GPIO, IR, DSD, LINKALL to influence build

#define VERSION "v1.8.7-1048"
#define VERSION "v1.8.7-1049"

#if !defined(MODEL_NAME)
#define MODEL_NAME SqueezeLite
Expand Down

0 comments on commit 33aa1d1

Please sign in to comment.