Skip to content

Commit 30a3216

Browse files
committed
Moved include rtl_tcp.h from rtl-sdr.h to rtl_tcp.c (where it should be)
* So @f4exb was right to include the rtl_tcp.h in CMakeLists install. If anyone is making a C program that communicates with rtl_tcp, it will probably use the enums. (See PR steve-m#22 and issue steve-m#21) * Added rtl_tcp.h to CMakeLists install script and moved rtl_tcp.h include to rtl_tcp.c file * Added Eclipse gitignore (for anyone that uses eclipse to compile) * Closes Issue steve-m#21
1 parent 90afc43 commit 30a3216

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,5 @@ src/rtl_rpcd
5353
src/rtl_test
5454

5555
debianize/*.deb
56+
.cproject
57+
.project

include/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
########################################################################
2323
install(FILES
2424
rtl-sdr.h
25+
rtl_tcp.h
2526
rtl-sdr_export.h
2627
DESTINATION include
2728
)

include/rtl-sdr.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ extern "C" {
3131

3232
#include <stdint.h>
3333
#include <rtl-sdr_export.h>
34-
#include <rtl_tcp.h>
3534

3635
typedef struct rtlsdr_dev rtlsdr_dev_t;
3736

src/rtl_tcp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
#include <pthread.h>
4444

4545
#include "rtl-sdr.h"
46+
#include "rtl_tcp.h"
4647
#include "convenience/convenience.h"
4748

4849
#ifdef _WIN32

0 commit comments

Comments
 (0)