Support Solaris. (#6578)

* Add system header.

* Remove use of TR1 on Solaris

Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
This commit is contained in:
Jiaming Yuan
2021-01-07 09:05:05 +08:00
committed by GitHub
parent b2246ae7ef
commit 8747885a8b
2 changed files with 5 additions and 1 deletions

View File

@@ -25,6 +25,10 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
#if defined(__sun) || defined(sun)
#include <sys/sockio.h>
#endif // defined(__sun) || defined(sun)
#endif // defined(_WIN32)
#include <string>