mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-01 15:49:51 +08:00
obs-ffmpeg: Do not include sys/timeb.h on non-Windows system
The struct timeb is used on Windows only.
This commit is contained in:
@@ -20,6 +20,9 @@
|
||||
#include "obs-ffmpeg-url.h"
|
||||
#include <srt/srt.h>
|
||||
#include <libavformat/avformat.h>
|
||||
#ifdef _WIN32
|
||||
#include <sys/timeb.h>
|
||||
#endif
|
||||
|
||||
#define POLLING_TIME 100 /// Time in milliseconds between interrupt check
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#include <libavutil/time.h>
|
||||
#include <libavutil/error.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/timeb.h>
|
||||
#include <time.h>
|
||||
|
||||
#define HTTP_PROTO "http"
|
||||
|
||||
Reference in New Issue
Block a user