Skip to content

Commit 2563b74

Browse files
fantessileht
authored andcommitted
fix(torch): add missing header needed in case of building w/o caffe backend
1 parent e82b6f3 commit 2563b74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backends/torch/torchutils.cc

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <google/protobuf/io/coded_stream.h>
2626
#include <google/protobuf/io/zero_copy_stream_impl.h>
2727
#include <google/protobuf/text_format.h>
28+
#include <fcntl.h>
2829

2930
using google::protobuf::io::CodedInputStream;
3031
using google::protobuf::io::CodedOutputStream;

0 commit comments

Comments
 (0)