mirror of
https://github.com/novatiq/packages.git
synced 2026-07-30 07:13:07 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user