File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
tensorflow_io/core/kernels
third_party/toolchains/tf Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,11 @@ limitations under the License.
16
16
#include " tensorflow/core/framework/op_kernel.h"
17
17
#include " tensorflow/core/lib/io/buffered_inputstream.h"
18
18
#include " tensorflow_io/core/kernels/io_stream.h"
19
-
20
19
#if defined(_MSC_VER)
21
20
#include < io.h>
22
21
#define STDIN_FILENO _fileno (stdin)
22
+ #else
23
+ #include < unistd.h>
23
24
#endif
24
25
25
26
namespace tensorflow {
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ limitations under the License.
23
23
#include < sys/ioctl.h>
24
24
#include < sys/stat.h>
25
25
#include < sys/types.h>
26
+ #include < unistd.h>
26
27
27
28
static int xioctl (int fh, int request, void * arg) {
28
29
int r;
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ cc_library(
8
8
"@com_google_absl//absl/container:flat_hash_map",
9
9
"@com_google_absl//absl/container:inlined_vector",
10
10
"@com_google_absl//absl/strings",
11
+ "@com_google_absl//absl/strings:cord",
11
12
"@com_google_absl//absl/types:optional",
12
13
"@com_google_absl//absl/types:span",
13
14
],
You can’t perform that action at this time.
0 commit comments