packages/multimedia/crtmpserver/patches/060-add-missing-includes.patch
Rosen Penev 80826d8b7b crtmpserver: Fix compilation without deprecated OpenSSL APIs
Switched to codeload to simplify the Makefile.

Removed the website as it is no longer valid.

Renamed .diff file to .patch

Added uclibc++ support. Fixed 060-add-missing-includes.patch , which was
totally wrong to begin with. C headers are generally not used with C++
programs.

Minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-26 18:01:10 -08:00

10 lines
314 B
Diff

--- a/sources/common/src/utils/logging/fileloglocation.cpp
+++ b/sources/common/src/utils/logging/fileloglocation.cpp
@@ -17,6 +17,7 @@
* along with crtmpserver. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <ctime>
#include "utils/logging/fileloglocation.h"
#include "utils/lua/luautils.h"