mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-01 04:12:14 +00:00
rtpdec: Don't explicitly include unistd.h any longer
unistd.h used to be required for gethostname. On windows, gethostname is provided by winsock2.h. Now network.h includes both unistd.h and winsock2.h if they exist. Signed-off-by: Martin Storsjö <martin@martin.st> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1d4c4b0fbc
commit
9d0bc5c0bd
@ -27,7 +27,6 @@
|
||||
#include "mpegts.h"
|
||||
#include "url.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#include "network.h"
|
||||
|
||||
#include "rtpdec.h"
|
||||
|
Loading…
Reference in New Issue
Block a user