mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-03 01:31:53 +02:00
vlc_fixups: add missing struct timespec
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
This commit is contained in:
parent
a3c777dbad
commit
76ca1aaac4
@ -623,6 +623,10 @@ AC_CHECK_TYPES([struct pollfd],,,
|
||||
#endif
|
||||
])
|
||||
|
||||
dnl Check for struct timespec
|
||||
AC_CHECK_TYPES([struct timespec],,,
|
||||
[#include <time.h>])
|
||||
|
||||
dnl Checks for socket stuff
|
||||
VLC_SAVE_FLAGS
|
||||
SOCKET_LIBS=""
|
||||
|
@ -359,6 +359,13 @@ struct if_nameindex
|
||||
# define if_freenameindex(list) (void)0
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRUCT_TIMESPEC
|
||||
struct timespec {
|
||||
time_t tv_sec; /* Seconds */
|
||||
long tv_nsec; /* Nanoseconds */
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
struct iovec
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user