Skip to content

Commit

Permalink
[core] Removed include of srt_compat.h and directly added it where it…
Browse files Browse the repository at this point in the history
… belongs
  • Loading branch information
yomnes0 committed Mar 8, 2024
1 parent 3c12772 commit d75c33a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/srt-live-transmit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
#include <thread>
#include <list>


#include "srt_compat.h"
#include "apputil.hpp" // CreateAddr
#include "uriparser.hpp" // UriParser
#include "socketoptions.hpp"
Expand Down
1 change: 1 addition & 0 deletions apps/srt-tunnel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <mutex>
#include <condition_variable>

#include "srt_compat.h"
#include "apputil.hpp" // CreateAddr
#include "uriparser.hpp" // UriParser
#include "socketoptions.hpp"
Expand Down
2 changes: 0 additions & 2 deletions srtcore/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ modified by
#include "packet.h"
#include "threadname.h"

#include <srt_compat.h> // SysStrError

using namespace std;
using namespace srt::sync;
using namespace srt_logging;
Expand Down
2 changes: 1 addition & 1 deletion srtcore/logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ written by
*****************************************************************************/



#include "srt_compat.h"
#include "logging.h"

using namespace std;
Expand Down
1 change: 0 additions & 1 deletion srtcore/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ written by
#include "utilities.h"
#include "threadname.h"
#include "logging_api.h"
#include "srt_compat.h"
#include "sync.h"

#ifdef __GNUC__
Expand Down

0 comments on commit d75c33a

Please sign in to comment.