summaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-04-16 10:15:25 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-04-16 10:15:25 +0200
commit5e08ec5d0d71857b21536221f6fda9c936afa7e0 (patch)
tree6492bc3d1315aa285ad0424e0f71a8de7bee5f4c /src/DabMod.cpp
parenta878abd2aa41f530a558ee83639832d907a24029 (diff)
downloaddabmod-5e08ec5d0d71857b21536221f6fda9c936afa7e0.tar.gz
dabmod-5e08ec5d0d71857b21536221f6fda9c936afa7e0.tar.bz2
dabmod-5e08ec5d0d71857b21536221f6fda9c936afa7e0.zip
Do not compile useless files for easydabv3
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp30
1 files changed, 16 insertions, 14 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 0d4a180..bc32b9d 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -29,6 +29,22 @@
# include "config.h"
#endif
+#include <memory>
+#include <complex>
+#include <string>
+#include <iostream>
+#include <iomanip>
+#include <cstdlib>
+#include <stdexcept>
+#include <cstdio>
+#include <cstddef>
+#include <sys/stat.h>
+#include <signal.h>
+
+#if HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
+
#include "Utils.h"
#include "Log.h"
#include "DabModulator.h"
@@ -47,20 +63,6 @@
#include "RemoteControl.h"
#include "ConfigParser.h"
-#include <memory>
-#include <complex>
-#include <string>
-#include <stdlib.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <stdexcept>
-#include <signal.h>
-
-#if HAVE_NETINET_IN_H
-# include <netinet/in.h>
-#endif
-
/* UHD requires the input I and Q samples to be in the interval
* [-1.0,1.0], otherwise they get truncated, which creates very
* wide-spectrum spikes. Depending on the Transmission Mode, the