Skip to content

Commit

Permalink
update nzbget.h, cleanup tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dnzbk committed Nov 26, 2024
1 parent 4fe411b commit 34d3647
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions daemon/main/nzbget.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@
#include <libxml/tree.h>

#include <boost/asio.hpp>
#if !defined(DISABLE_TLS) && defined(HAVE_OPENSSL)
#include <boost/asio/ssl.hpp>
#endif

// NOTE: do not include <iostream> in "nzbget.h". <iostream> contains objects requiring
// intialization, causing every unit in nzbget to have initialization routine. This in particular
Expand Down
1 change: 1 addition & 0 deletions lib/yencode/SimdDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "nzbget.h"

#ifdef SIMD_DECODER

Expand Down
2 changes: 1 addition & 1 deletion tests/extension/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
file(GLOB ExtensionSrc
set(ExtensionSrc
main.cpp
ManifestFileTest.cpp
ExtensionLoaderTest.cpp
Expand Down
2 changes: 1 addition & 1 deletion tests/postprocess/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
file(GLOB PostprocessTestsSrc
set(PostprocessTestsSrc
main.cpp
# DirectUnpackTest.cpp
# DupeMatcherTest.cpp
Expand Down
3 changes: 1 addition & 2 deletions tests/system/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
file(GLOB SystemTestsSrc
set(SystemTestsSrc
main.cpp
SystemInfoTest.cpp
${CMAKE_SOURCE_DIR}/daemon/system/CPU.cpp
Expand All @@ -7,7 +7,6 @@ file(GLOB SystemTestsSrc
${CMAKE_SOURCE_DIR}/daemon/system/SystemInfo.cpp
${CMAKE_SOURCE_DIR}/daemon/connect/HttpClient.cpp
${CMAKE_SOURCE_DIR}/daemon/main/Options.cpp
${CMAKE_SOURCE_DIR}/daemon/remote/MessageBase.cpp
${CMAKE_SOURCE_DIR}/daemon/queue/DownloadInfo.cpp
${CMAKE_SOURCE_DIR}/daemon/queue/DiskState.cpp
${CMAKE_SOURCE_DIR}/daemon/feed/FeedInfo.cpp
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/util/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
file(GLOB UtilTestSrc
set(UtilTestSrc
main.cpp
FileSystemTest.cpp
UtilTest.cpp
Expand Down

0 comments on commit 34d3647

Please sign in to comment.