Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
be206a96
Unverified
Commit
be206a96
authored
Sep 25, 2019
by
Nikita Titov
Committed by
GitHub
Sep 25, 2019
Browse files
refined order of includes (#2436)
* refined order of includes * hotfix
parent
2e9f255e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
src/network/socket_wrapper.hpp
src/network/socket_wrapper.hpp
+11
-11
No files found.
src/network/socket_wrapper.hpp
View file @
be206a96
...
...
@@ -8,6 +8,11 @@
#include <LightGBM/utils/log.h>
#include <string>
#include <cerrno>
#include <cstdlib>
#include <unordered_set>
#if defined(_WIN32)
#ifdef _MSC_VER
...
...
@@ -20,23 +25,18 @@
#else
#include <arpa/inet.h>
#include <fcntl.h>
#include <ifaddrs.h>
#include <netdb.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <
sys/socket
.h>
#include <
netinet/tcp
.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <ifaddrs.h>
#include <netinet/tcp.h>
#endif
#include <unistd.h>
#include <cerrno>
#include <cstdlib>
#include <string>
#include <unordered_set>
#endif // defined(_WIN32)
#ifdef _MSC_VER
#pragma comment(lib, "Ws2_32.lib")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment