]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Update common.h 90/head
authorMike Brady <mikebrady@eircom.net>
Sun, 21 Jun 2015 13:53:03 +0000 (14:53 +0100)
committerMike Brady <mikebrady@eircom.net>
Sun, 21 Jun 2015 13:53:03 +0000 (14:53 +0100)
Make config file name conditional on config file support

common.h

index 7880a9d47056d1f3cd5ced47b43ef467a343fa6d..b0448e64d49206d9fc562076b96c46d4cfdb6e0e 100644 (file)
--- a/common.h
+++ b/common.h
@@ -77,7 +77,9 @@ typedef struct {
   char *pidfile;
   char *logfile;
   char *errfile;
+#ifdef SUPPORT_CONFIG_FILES
   char *configfile;
+#endif
   uint32_t audio_backend_buffer_desired_length; // this will be the desired number of frames in the
                                             // audio backend buffer -- the DAC buffer for ALSA
   uint32_t audio_backend_latency_offset; // this will be the offset to compensate for any fixed latency