summarylogtreecommitdiffstats
path: root/tfrec.patch
blob: fb91f04b1bbe4e3feb59bfff1ed37e770f6b5ab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff --git a/Makefile b/Makefile
index 96755f4..1cef92f 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ PKG_INCLUDES= $(shell pkg-config --cflags $(PACKAGES))
 PKG_LIBS= $(shell pkg-config --libs $(PACKAGES))
 
 # Default flags, should work for all
-CXXFLAGS=-O3 $(PROFILING) -std=c++0x -Wall \
+CXXFLAGS+=-O3 $(PROFILING) -std=c++0x -Wall \
               -Wno-unused-function  -Wno-unused-variable -Wno-unused-but-set-variable \
               -Wno-write-strings
               
@@ -48,7 +48,7 @@ endif
 INCLUDES= $(PKG_INCLUDES) 
 
 LIBS=-lm $(PKG_LIBS) -lpthread
-LDFLAGS=$(PROFILING) -rdynamic
+LDFLAGS+=$(PROFILING) -rdynamic
 
 CFILES=main.cpp engine.cpp  dsp_stuff.cpp fm_demod.cpp decoder.cpp crc8.cpp \
 	tfa1.cpp tfa2.cpp whb.cpp utils.cpp sdr.cpp crc32.cpp
diff --git a/decoder.h b/decoder.h
index dc3d34b..fd6deeb 100644
--- a/decoder.h
+++ b/decoder.h
@@ -4,6 +4,7 @@
 #include <sys/time.h>
 #include <string>
 #include <map>
+#include <cstdint>
 
 using std::string;
 using std::map;