#include <wtf/Platform.h>
#if defined(__APPLE__)
#ifdef __cplusplus
#define NULL __null
#else
#define NULL ((void *)0)
#endif
#endif
#if OS(WINDOWS)
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0502
#endif
#ifndef WINVER
#define WINVER 0x0502
#endif
#if !USE(CURL)
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h
#endif
#endif
#else
#include <pthread.h>
#endif // OS(WINDOWS)
#include <sys/types.h>
#include <fcntl.h>
#if defined(__APPLE__)
#include <regex.h>
#endif
#include <setjmp.h>
#include <signal.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#if defined(__APPLE__)
#include <unistd.h>
#endif
#ifdef __cplusplus
#include <ciso646>
#if defined(_LIBCPP_VERSION)
#include <type_traits>
namespace WebCore {
class TimerHeapReference;
}
_LIBCPP_BEGIN_NAMESPACE_STD
inline _LIBCPP_INLINE_VISIBILITY
const WebCore::TimerHeapReference& move(const WebCore::TimerHeapReference& t)
{
return t;
}
_LIBCPP_END_NAMESPACE_STD
#endif // defined(_LIBCPP_VERSION)
#include <algorithm>
#include <cstddef>
#include <new>
#endif
#if defined(__APPLE__)
#include <sys/param.h>
#endif
#include <sys/stat.h>
#if defined(__APPLE__)
#include <sys/time.h>
#include <sys/resource.h>
#endif
#include <CoreFoundation/CoreFoundation.h>
#if PLATFORM(WIN_CAIRO)
#include <ConditionalMacros.h>
#include <windows.h>
#else
#if OS(WINDOWS)
#if USE(CG)
#if defined(_MSC_VER) && _MSC_VER <= 1600
#include <WebCore/WebCoreHeaderDetection.h>
#if HAVE(AVCF_LEGIBLE_OUTPUT)
#include <wtf/ExportMacros.h>
#include <wtf/MathExtras.h>
#define isnan _isnan
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
#include <CoreGraphics/CGFloat.h>
#endif
#include <CoreGraphics/CoreGraphics.h>
#include <CoreGraphics/CGFloat.h>
#undef isnan
#endif
#endif
#include <ColorSync/ColorSync.h>
#ifdef __COLORSYNCDEPRECATED__
#define COREGRAPHICS_INCLUDES_CORESERVICES_HEADER
#define OBSOLETE_COLORSYNC_API
#endif
#endif
#if USE(CFNETWORK)
#include <CFNetwork/CFNetwork.h>
#endif
#include <windows.h>
#else
#if !PLATFORM(IOS)
#include <CoreServices/CoreServices.h>
#endif // !PLATFORM(IOS)
#endif // OS(WINDOWS)
#endif
#ifdef __OBJC__
#if PLATFORM(IOS)
#import <Foundation/Foundation.h>
#else
#import <Cocoa/Cocoa.h>
#endif // PLATFORM(IOS)
#endif
#ifdef __cplusplus
#define new ("if you use new/delete make sure to include config.h at the top of the file"())
#define delete ("if you use new/delete make sure to include config.h at the top of the file"())
#endif
#ifdef __OBJC__
#undef try
#undef catch
#endif