Code

po: update ncmpc.pot
[ncmpc.git] / src / lirc.h
index fa5f3b17958797e577712516510c6aa43f769cfc..551879b344bd65c0756520a8ec41fbee80b45de7 100644 (file)
 #ifndef LIRC_H
 #define LIRC_H
 
+#include "config.h"
+
+#ifdef ENABLE_LIRC
+
 void
 ncmpc_lirc_init(void);
 
 void
 ncmpc_lirc_deinit(void);
 
+#else
+
+static inline void
+ncmpc_lirc_init(void) {}
+
+static inline void
+ncmpc_lirc_deinit(void) {}
+
+#endif
+
 #endif