mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Add missing explicit include directive for <cerrno> in c10/util/error… (#141593)
`c10/util/error.cpp` uses the symbol `errno` but is missing an explicit header include directive for `<cerrno>`. cc) @malfet , @atalman Pull Request resolved: https://github.com/pytorch/pytorch/pull/141593 Approved by: https://github.com/Skylion007
This commit is contained in:
parent
199d3da632
commit
54f4621ca5
|
|
@ -1,3 +1,4 @@
|
|||
#include <cerrno>
|
||||
#include <cstring>
|
||||
|
||||
#include <c10/util/error.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user