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 #22 and issue #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 #21
master
Lucas Teske 2016-10-01 16:30:42 -03:00
parent 90afc43af7
commit 30a3216b2d
No known key found for this signature in database
GPG Key ID: 6C39C1C16A9DA7BE
4 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View File

@ -53,3 +53,5 @@ src/rtl_rpcd
src/rtl_test
debianize/*.deb
.cproject
.project

View File

@ -22,6 +22,7 @@
########################################################################
install(FILES
rtl-sdr.h
rtl_tcp.h
rtl-sdr_export.h
DESTINATION include
)

View File

@ -31,7 +31,6 @@ extern "C" {
#include <stdint.h>
#include <rtl-sdr_export.h>
#include <rtl_tcp.h>
typedef struct rtlsdr_dev rtlsdr_dev_t;

View File

@ -43,6 +43,7 @@
#include <pthread.h>
#include "rtl-sdr.h"
#include "rtl_tcp.h"
#include "convenience/convenience.h"
#ifdef _WIN32