mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Merge 6394b12880
into d6bcd3fb0b
This commit is contained in:
commit
351b33a64e
2 changed files with 9 additions and 7 deletions
|
@ -7,11 +7,10 @@
|
||||||
#include <AK/Checked.h>
|
#include <AK/Checked.h>
|
||||||
#include <AK/Time.h>
|
#include <AK/Time.h>
|
||||||
|
|
||||||
#include <time.h>
|
#ifdef AK_OS_WINDOWS
|
||||||
#if defined(AK_OS_WINDOWS)
|
# define timeval dummy_timeval
|
||||||
# include <profileapi.h>
|
# include <windows.h>
|
||||||
#else
|
# undef timeval
|
||||||
# include <sys/time.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace AK {
|
namespace AK {
|
||||||
|
|
|
@ -12,8 +12,11 @@
|
||||||
#include <AK/Checked.h>
|
#include <AK/Checked.h>
|
||||||
#include <AK/Platform.h>
|
#include <AK/Platform.h>
|
||||||
#include <AK/Types.h>
|
#include <AK/Types.h>
|
||||||
#if defined(AK_OS_WINDOWS)
|
#ifdef AK_OS_WINDOWS
|
||||||
# include <winsock2.h>
|
struct timeval {
|
||||||
|
long tv_sec;
|
||||||
|
long tv_usec;
|
||||||
|
};
|
||||||
#else
|
#else
|
||||||
# include <sys/time.h>
|
# include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue