aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/netliba/socket/stdafx.h
blob: 7d99e5dc1063b479fefb5b6f49186c9334345ba8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <util/system/platform.h>
#if defined(_darwin_)
#define __APPLE_USE_RFC_2292
#endif

#include <util/system/compat.h>
#include <util/network/init.h>
#if defined(_unix_)
#include <netdb.h>
#include <fcntl.h>
#elif defined(_win_)
#include <winsock2.h>
using socklen_t = int;
#endif