forked from mirrors/nixpkgs
srt-live-server: add missing ctime include
This commit is contained in:
parent
7a14867b5b
commit
d07a2fc118
|
@ -0,0 +1,11 @@
|
|||
diff --git a/slscore/common.hpp b/slscore/common.hpp
|
||||
index 30aeeea..bed0e62 100644
|
||||
--- a/slscore/common.hpp
|
||||
+++ b/slscore/common.hpp
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
+#include <ctime>
|
||||
#include <vector>
|
||||
#include <unistd.h>
|
|
@ -19,6 +19,9 @@ stdenv.mkDerivation rec {
|
|||
patches = [
|
||||
# https://github.com/Edward-Wu/srt-live-server/pull/94
|
||||
./fix-insecure-printfs.patch
|
||||
|
||||
# https://github.com/Edward-Wu/srt-live-server/pull/127 # adds `#include <ctime>`
|
||||
./add-ctime-include.patch
|
||||
];
|
||||
|
||||
buildInputs = [ srt zlib ];
|
||||
|
|
Loading…
Reference in a new issue