diff options
author | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
---|---|---|
committer | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
commit | 06e5c21a835c0e923506c4ff27929f34e00761c2 (patch) | |
tree | 75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /library/cpp/netliba/socket/stdafx.h | |
parent | 03f024c4412e3aa613bb543cf1660176320ba8f4 (diff) | |
download | ydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz |
fix ya.make
Diffstat (limited to 'library/cpp/netliba/socket/stdafx.h')
-rw-r--r-- | library/cpp/netliba/socket/stdafx.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/library/cpp/netliba/socket/stdafx.h b/library/cpp/netliba/socket/stdafx.h new file mode 100644 index 0000000000..7d99e5dc10 --- /dev/null +++ b/library/cpp/netliba/socket/stdafx.h @@ -0,0 +1,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 |