summaryrefslogtreecommitdiff
path: root/src/encoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoder.cc')
-rw-r--r--src/encoder.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/encoder.cc b/src/encoder.cc
index fc19921..3a4ade2 100644
--- a/src/encoder.cc
+++ b/src/encoder.cc
@@ -22,6 +22,8 @@
*/
#include <config.h>
+#ifdef USE_GUI
+
#include "encoder.h"
Encoder::Encoder(Error* err,
@@ -154,3 +156,5 @@ void Encoder::stop() {
n = NULL;
}
}
+
+#endif /*USE_GUI*/