Skip to content

Commit

Permalink
Refine code.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Aug 21, 2024
1 parent 5bc3d62 commit cfb73de
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions trunk/src/app/srs_app_http_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ using namespace std;
#include <srs_protocol_utility.hpp>
#include <srs_app_coworkers.hpp>

#ifdef SRS_VALGRIND
#include <valgrind/valgrind.h>
#include <valgrind/memcheck.h>
#endif

#if defined(__linux__) || defined(SRS_OSX)
#include <sys/utsname.h>
#endif
Expand Down Expand Up @@ -1092,8 +1097,6 @@ srs_error_t SrsGoApiTcmalloc::serve_http(ISrsHttpResponseWriter* w, ISrsHttpMess
#endif

#ifdef SRS_VALGRIND
#include <valgrind/valgrind.h>
#include <valgrind/memcheck.h>

SrsGoApiValgrind::SrsGoApiValgrind()
{
Expand Down

0 comments on commit cfb73de

Please sign in to comment.