diff --git a/src/zm_rtp_data.cpp b/src/zm_rtp_data.cpp index b7e7ba0c1..b5ee0f007 100644 --- a/src/zm_rtp_data.cpp +++ b/src/zm_rtp_data.cpp @@ -63,7 +63,7 @@ bool RtpDataThread::recvPacket( const unsigned char *packet, size_t packetLen ) int RtpDataThread::run() { - Debug( 2, "Starting data thread %ld on port %d", mRtpSource.getSsrc(), mRtpSource.getLocalDataPort() ); + Debug( 2, "Starting data thread %d on port %d", mRtpSource.getSsrc(), mRtpSource.getLocalDataPort() ); SockAddrInet localAddr; UdpInetServer rtpDataSocket; diff --git a/src/zm_rtp_data.h b/src/zm_rtp_data.h index 4115fd686..6c957a3ad 100644 --- a/src/zm_rtp_data.h +++ b/src/zm_rtp_data.h @@ -23,6 +23,8 @@ #include "zm_thread.h" #include "zm_buffer.h" +#include + class RtspThread; class RtpSource; diff --git a/src/zm_rtp_source.h b/src/zm_rtp_source.h index 6890676d0..7d4143697 100644 --- a/src/zm_rtp_source.h +++ b/src/zm_rtp_source.h @@ -24,6 +24,7 @@ #include "zm_thread.h" #include +#include #include struct RtpDataHeader;