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>
This commit is contained in:
Rosen Penev
2018-12-26 18:01:10 -08:00
parent 97836d987f
commit 80826d8b7b
4 changed files with 59 additions and 30 deletions
@@ -1,26 +1,10 @@
--- a/sources/common/include/common.h
+++ b/sources/common/include/common.h
@@ -20,6 +20,10 @@
#ifndef _COMMON_H
#define _COMMON_H
+#include <stdio.h>
+#include <unistd.h>
+#include <sys/types.h>
+
#include "defines.h"
#include "platform/platform.h"
#include "utils/utils.h"
--- a/sources/common/src/utils/logging/fileloglocation.cpp
+++ b/sources/common/src/utils/logging/fileloglocation.cpp
@@ -18,6 +18,10 @@
@@ -17,6 +17,7 @@
* along with crtmpserver. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <ctime>
+#include <stdio.h>
+#include <unistd.h>
+#include <sys/types.h>
+
#include "utils/logging/fileloglocation.h"
#include "utils/lua/luautils.h"
#include "utils/misc/file.h"